This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| checkout_fixed_baseline.py | |
| Interactive downloader for the 2025-05-30 fixed baseline | |
| """ | |
| import os | |
| import sys | |
| import subprocess | |
| import shutil |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.envestnet.aaacli.core; | |
| import java.io.*; | |
| import java.nio.file.*; | |
| import java.util.logging.*; | |
| import java.util.stream.Collectors; | |
| public class MLRunner { | |
| private final File tempScriptFolder; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import dash | |
| import dash_bootstrap_components as dbc | |
| import dash_core_components as dcc | |
| import dash_html_components as html | |
| from dash.dependencies import Input, Output | |
| import pandas as pd | |
| # Sample data | |
| data = { | |
| "projectStats": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pickle | |
| from transformers import AutoTokenizer, AutoModel | |
| import torch | |
| from torch.nn.functional import cosine_similarity | |
| class MethodNameEmbedding: | |
| def __init__(self, cache_filepath="token_cache.pkl"): | |
| self.tokenizer = AutoTokenizer.from_pretrained("microsoft/codebert-base") | |
| self.model = AutoModel.from_pretrained("microsoft/codebert-base") | |
| self.cache_filepath = cache_filepath |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.FileWriter; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import org.eclipse.jdt.core.JavaCore; | |
| import org.eclipse.jdt.core.dom.AST; | |
| import org.eclipse.jdt.core.dom.ASTParser; | |
| import org.eclipse.jdt.core.dom.ASTVisitor; | |
| import org.eclipse.jdt.core.dom.MethodDeclaration; | |
| import org.eclipse.jdt.core.dom.NormalAnnotation; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.File; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| public class YourPluginClass { | |
| // ... [Your other fields and methods] | |
| /** | |
| * Recursively searches for all .java files under "test" directories starting from the given root directory. | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.eclipse.swt.widgets.FileDialog; | |
| import org.eclipse.swt.widgets.DirectoryDialog; | |
| public class YourPluginClass { | |
| // ... [Your other fields and imports] | |
| private File input; | |
| private String outputBase; | |
| private IWorkbenchWindow window; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class McCabe(): | |
| def __init__(self, prefix_path, tagged_file_path, project_list,project_github_name_path): | |
| ''' ''' | |
| self.prefix_path = prefix_path | |
| self.tagged_file_path = tagged_file_path | |
| self.project_list = project_list | |
| self.project_github_name_path = project_github_name_path | |
| self.df = pd.DataFrame(columns=['project','file','test_case','if','else','for','while','try','catch','switch']) | |
| for i in range(4): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [General] | |
| loglevel = warning | |
| bypass-system = true | |
| skip-proxy = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,localhost,*.local,*.lan | |
| bypass-tun = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12 | |
| dns-server = 114.114.114.114,114.114.115.115 | |
| [Proxy] | |
| PROXY = custom,服务器地址,服务器端口,加密方式,密码,模块地址,tcp-fast-open=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [General] | |
| # warning, notify, info, verbose | |
| skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, e.crashlytics.com, apple.cn | |
| bypass-tun = 0.0.0.0/8, 1.0.0.0/9, 1.160.0.0/11, 1.192.0.0/11, 10.0.0.0/8, 14.0.0.0/11, 14.96.0.0/11, 14.128.0.0/11, 14.192.0.0/11, 27.0.0.0/10, 27.96.0.0/11, 27.128.0.0/9, 36.0.0.0/10, 36.96.0.0/11, 36.128.0.0/9, 39.0.0.0/11, 39.64.0.0/10, 39.128.0.0/10, 42.0.0.0/8, 43.224.0.0/11, 45.64.0.0/10, 47.64.0.0/10, 49.0.0.0/9, 49.128.0.0/11, 49.192.0.0/10, 54.192.0.0/11, 58.0.0.0/9, 58.128.0.0/11, 58.192.0.0/10, 59.32.0.0/11, 59.64.0.0/10, 59.128.0.0/9, 60.0.0.0/10, 60.160.0.0/11, 60.192.0.0/10, 61.0.0.0/10, 61.64.0.0/11, 61.128.0.0/10, 61.224.0.0/11, 100.64.0.0/10, 101.0.0.0/9, 101.128.0.0/11, 101.192.0.0/10, 103.0.0.0/10, 103.192.0.0/10, 106.0.0.0/9, 106.224.0.0/11, 110.0.0.0/7, 112.0.0.0/9, 112.128.0.0/11, 112.192.0.0/10, 113.0.0.0/9, 113.128.0.0/11, 113.192.0.0/10, 114.0.0.0/9, 114.128.0.0/11, 114.192.0.0/10, 115.0.0.0/8, 116.0.0.0/8, 117.0.0.0/9, 117. |
NewerOlder