Home
last modified time | relevance | path

Searched +full:github +full:- +full:token (Results 1 – 25 of 1065) sorted by relevance

12345678910>>...43

/external/javaparser/javaparser-core/src/main/javacc-support/com/github/javaparser/
DGeneratedJavaParserTokenManagerBase.java1 package com.github.javaparser;
3 import com.github.javaparser.ast.comments.BlockComment;
4 import com.github.javaparser.ast.comments.Comment;
5 import com.github.javaparser.ast.comments.JavadocComment;
6 import com.github.javaparser.ast.comments.LineComment;
8 import static com.github.javaparser.GeneratedJavaParserConstants.*;
11 * Base class for {@link com.github.javaparser.GeneratedJavaParserTokenManager}
15 * Create a TokenRange that spans exactly one token
17 private static TokenRange tokenRange(Token token) { in tokenRange() argument
18 JavaToken javaToken = token.javaToken; in tokenRange()
[all …]
DGeneratedJavaParserBase.java1 package com.github.javaparser;
3 import com.github.javaparser.ast.ArrayCreationLevel;
4 import com.github.javaparser.ast.Node;
5 import com.github.javaparser.ast.NodeList;
6 import com.github.javaparser.ast.body.Parameter;
7 import com.github.javaparser.ast.comments.CommentsCollection;
8 import com.github.javaparser.ast.expr.*;
9 import com.github.javaparser.ast.stmt.Statement;
10 import com.github.javaparser.ast.type.ArrayType;
11 import com.github.javaparser.ast.type.Type;
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/release/
Drelease_notes.py7 # http://www.apache.org/licenses/LICENSE-2.0
14 """Generate draft and release notes in Markdown from Github PRs.
16 You'll need a github API token to avoid being rate-limited. See
17 https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
34 --
35 …auto generated release notes. Previous releases notes are [here](https://github.com/grpc/grpc/rele…
37 …bels and make necessary corrections (like fixing the title) to the PR in Github. Final release not…
40 --
43 -
47 -
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DConcreteSyntaxModel.java2 * Copyright (C) 2007-2010 Júlio Vilmar Gesser.
3 * Copyright (C) 2011, 2013-2016 The JavaParser Team.
22 package com.github.javaparser.printer;
24 import com.github.javaparser.GeneratedJavaParserConstants;
25 import com.github.javaparser.ast.*;
26 import com.github.javaparser.ast.body.*;
27 import com.github.javaparser.ast.comments.Comment;
28 import com.github.javaparser.ast.expr.*;
29 import com.github.javaparser.ast.modules.*;
30 import com.github.javaparser.ast.observer.ObservableProperty;
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DTokenTextElement.java2 * Copyright (C) 2007-2010 Júlio Vilmar Gesser.
3 * Copyright (C) 2011, 2013-2016 The JavaParser Team.
22 package com.github.javaparser.printer.lexicalpreservation;
24 import com.github.javaparser.JavaToken;
25 import com.github.javaparser.Range;
26 import com.github.javaparser.ast.Node;
31 private final JavaToken token; field in TokenTextElement
33 TokenTextElement(JavaToken token) { in TokenTextElement() argument
34 this.token = token; in TokenTextElement()
47 return token.getText(); in expand()
[all …]
DRemovedGroup.java1 package com.github.javaparser.printer.lexicalpreservation;
3 import com.github.javaparser.JavaToken;
4 import com.github.javaparser.TokenRange;
5 import com.github.javaparser.TokenTypes;
6 import com.github.javaparser.ast.Node;
7 import com.github.javaparser.printer.concretesyntaxmodel.CsmToken;
88 return indicesBeingRemoved.get(indicesBeingRemoved.size() - 1); in getLastElementIndex()
106 return removedList.get(removedList.size() - 1); in getLastElement()
115 …* " [Removed] [EOL]" -> this would be a complete line, regardless of spaces or tabs before or aft…
116 * " [Removed] void [EOL]" -> this would not be a complete line because of the "void"
[all …]
DLexicalPreservingPrinter.java2 * Copyright (C) 2007-2010 Júlio Vilmar Gesser.
3 * Copyright (C) 2011, 2013-2016 The JavaParser Team.
22 package com.github.javaparser.printer.lexicalpreservation;
24 import com.github.javaparser.*;
25 import com.github.javaparser.ast.DataKey;
26 import com.github.javaparser.ast.Modifier;
27 import com.github.javaparser.ast.Node;
28 import com.github.javaparser.ast.NodeList;
29 import com.github.javaparser.ast.body.VariableDeclarator;
30 import com.github.javaparser.ast.comments.BlockComment;
[all …]
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/
DJavaTokenTest.java2 * Copyright (C) 2007-2010 Júlio Vilmar Gesser.
3 * Copyright (C) 2011, 2013-2016 The JavaParser Team.
22 package com.github.javaparser;
24 import com.github.javaparser.ast.expr.Expression;
29 import static com.github.javaparser.GeneratedJavaParserConstants.*;
30 import static com.github.javaparser.JavaToken.Category.*;
31 import static com.github.javaparser.Providers.provider;
32 import static com.github.javaparser.Range.range;
51 …id assertToken(String image, Range range, int kind, JavaToken.Category category, JavaToken token) { in assertToken() argument
52 assertEquals(image, token.getText()); in assertToken()
[all …]
DTokenRangeTest.java1 package com.github.javaparser;
3 import com.github.javaparser.ast.CompilationUnit;
4 import com.github.javaparser.ast.Node;
9 import static com.github.javaparser.StaticJavaParser.parse;
23 …assertEquals("1,1-5/6,1-1/7,1-1/8,1-1/9,1-1/10,1-1/1,2-1/2,2-1/3,2-1/4,2-1/5,2-1/6,2-1/1,3-8/9,3-1… in renumberRangesWorks()
30 …assertEquals("1,1-5/6,1-4/10,1-2/1,2-1/2,2-1/3,2-1/4,2-1/5,2-1/1,3-1/2,3-1/3,3-1/4,3-1/5,3-1/6,3-1… in renumberRangesWorks()
34 * Make a compact String for comparing token range positions.
37 Optional<JavaToken> token = node.getTokenRange().map(TokenRange::getBegin); in makeRangesString() local
39 while (token.isPresent()) { in makeRangesString()
40 token = token.flatMap(t -> { in makeRangesString()
[all …]
/external/python/cryptography/
Drelease.py26 def wait_for_build_complete_github_actions(session, token, run_url): argument
31 "Content-Type": "application/json",
32 "Authorization": "token {}".format(token),
41 def download_artifacts_github_actions(session, token, run_url): argument
45 "Content-Type": "application/json",
46 "Authorization": "token {}".format(token),
54 "Content-Type": "application/json",
55 "Authorization": "token {}".format(token),
64 "Content-Type": "application/json",
65 "Authorization": "token {}".format(token),
[all …]
/external/rust/crates/libz-sys/src/zlib-ng/arch/s390/self-hosted-builder/fs/usr/bin/
Dactions-runner8 # - repo=<owner>/<name>
9 # - access_token=<ghp_***>
12 set -e -u
14 # Check the cached registration token.
15 token_file=registration-token.json
17 expires_at=$(jq --raw-output .expires_at "$token_file" 2>/dev/null)
19 set -e
20 if [[ $status -ne 0 || $(date +%s) -ge $(date -d "$expires_at" +%s) ]]; then
21 # Refresh the cached registration token.
23 -X POST \
[all …]
/external/libbpf/travis-ci/rootfs/s390x-self-hosted-builder/fs/usr/bin/
Dactions-runner8 # - repo=<owner>/<name>
9 # - access_token=<ghp_***>
12 set -e -u
14 # Check the cached registration token.
15 token_file=registration-token.json
17 expires_at=$(jq --raw-output .expires_at "$token_file" 2>/dev/null)
19 set -e
20 if [[ $status -ne 0 || $(date +%s) -ge $(date -d "$expires_at" +%s) ]]; then
21 # Refresh the cached registration token.
23 -X POST \
[all …]
/external/python/google-auth-library-python/tests/
Dtest_aws.py7 # http://www.apache.org/licenses/LICENSE-2.0
34 SERVICE_ACCOUNT_EMAIL = "service-1234@service-name.iam.gserviceaccount.com"
36 "https://us-east1-iamcredentials.googleapis.com/v1/projects/-"
41 TOKEN_URL = "https://sts.googleapis.com/v1/token"
42 SUBJECT_TOKEN_TYPE = "urn:ietf:params:aws:token-type:aws4_request"
44 REGION_URL = "http://169.254.169.254/latest/meta-data/placement/availability-zone"
45 SECURITY_CREDS_URL = "http://169.254.169.254/latest/meta-data/iam/security-credentials"
47 "https://sts.{region}.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15"
49 # Sample AWS security credentials to be used with tests that require a session token.
52 TOKEN = "IQoJb3JpZ2luX2VjEIz//////////wEaCXVzLWVhc3QtMiJGMEQCIH7MHX/Oy/OB8OlLQa9GrqU1B914+iMikqWQW7… variable
[all …]
/external/bcc/.github/workflows/
Dpublish.yml6 - master
11 # Optionally publish container images, guarded by the GitHub secret
13 # To set this up, sign up for quay.io (you can connect it to your github)
15 # and add the secret token for it to GitHub secrets as:
16 # - QUAY_TOKEN = <token from quay.io>
18 runs-on: ubuntu-latest
22 - NAME: bionic-release
24 - NAME: focal-release
28 - uses: actions/checkout@v1
30 - name: Initialize workflow variables
[all …]
/external/grpc-grpc/tools/github/
Dpr_latency.py8 # http://www.apache.org/licenses/LICENSE-2.0
17 You'll need a github API token to avoid being rate-limited. See
18 https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
23 GitHub reports a PR's updated timestamp for any event that modifies the PR (e.g.
27 to a manual re-run of tests.
43 PRS = 'https://api.github.com/repos/grpc/grpc/pulls?state=open&per_page=100'
44 COMMITS = 'https://api.github.com/repos/grpc/grpc/pulls/{pr_number}/commits'
49 if TOKEN:
50 request.add_header('Authorization', 'token {}'.format(TOKEN))
78 str(int((test_time - base_time).total_seconds())),
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/github/
Dpr_latency.py8 # http://www.apache.org/licenses/LICENSE-2.0
17 You'll need a github API token to avoid being rate-limited. See
18 https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
23 GitHub reports a PR's updated timestamp for any event that modifies the PR (e.g.
27 to a manual re-run of tests.
43 PRS = 'https://api.github.com/repos/grpc/grpc/pulls?state=open&per_page=100'
44 COMMITS = 'https://api.github.com/repos/grpc/grpc/pulls/{pr_number}/commits'
49 if TOKEN:
50 request.add_header('Authorization', 'token {}'.format(TOKEN))
78 str(int((test_time - base_time).total_seconds())),
[all …]
/external/rust/crates/mio/
DREADME.md3 Mio is a fast, low-level I/O library for Rust focusing on non-blocking APIs and
7 [![Crates.io][crates-badge]][crates-url]
8 [![MIT licensed][mit-badge]][mit-url]
9 [![Build Status][actions-badge]][actions-url]
10 [![Build Status][cirrus-badge]][cirrus-url]
12 [crates-badge]: https://img.shields.io/crates/v/mio.svg
13 [crates-url]: https://crates.io/crates/mio
14 [mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
15 [mit-url]: LICENSE
16 [actions-badge]: https://github.com/tokio-rs/mio/workflows/CI/badge.svg
[all …]
/external/oss-fuzz/infra/cifuzz/
Dconfig_utils.py7 # http://www.apache.org/licenses/LICENSE-2.0
24 # pylint: disable=wrong-import-position,import-error
62 # given to OSS-Fuzz users by not making them specify the language again (and
69 # pylint: disable=too-few-public-methods,too-many-instance-attributes
86 def token(self): member in BaseCiEnvironment
87 """Returns the CI API token."""
118 def token(self): member in GenericCiEnvironment
119 """Returns the CI API token."""
120 return os.getenv('TOKEN')
131 """CI environment for GitHub."""
[all …]
/external/oss-fuzz/infra/cifuzz/actions/run_fuzzers/
Daction.yml2 name: 'run-fuzzers'
5 oss-fuzz-project-name:
6 description: 'The OSS-Fuzz project name.'
12 fuzz-seconds:
16 dry-run:
22 run-fuzzers-mode:
26 "batch" is for non-interactive fuzzing of an entire project.
30 github-token:
32 Token for GitHub API. WARNING: THIS SHOULD NOT BE USED IN PRODUCTION YET
34 hardcode the token.
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DJavaToken.java2 * Copyright (C) 2007-2010 Júlio Vilmar Gesser.
3 * Copyright (C) 2011, 2013-2016 The JavaParser Team.
21 package com.github.javaparser;
25 import static com.github.javaparser.utils.CodeGenerationUtils.f;
26 import static com.github.javaparser.utils.Utils.EOL;
27 import static com.github.javaparser.utils.Utils.assertNotNull;
28 import com.github.javaparser.ast.Generated;
31 * A token from a parsed source file.
32 * (Awkwardly named "Java"Token since JavaCC already generates an internal class Token.)
33 * It is a node in a double linked list called token list.
[all …]
/external/oss-fuzz/infra/cifuzz/external-actions/build_fuzzers/
Daction.yml2 name: 'build-fuzzers'
3 description: "Builds an OSS-Fuzz project's fuzzers."
9 dry-run:
12 allowed-broken-targets-percentage:
18 project-src-path:
21 bad-build-check:
22 description: "Whether or not OSS-Fuzz's check for bad builds should be done."
25 storage-repo:
29 storage-repo-branch:
34 storage-repo-branch-coverage:
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/python_utils/
Dcheck_on_pr.py7 # http://www.apache.org/licenses/LICENSE-2.0
26 _GITHUB_API_PREFIX = 'https://api.github.com'
55 url='https://api.github.com/app/installations/%s/access_tokens'
59 'Accept': 'application/vnd.github.machine-man-preview+json',
64 'token': resp.json()['token'],
71 print("Fetch access token from Github API failed:")
73 if i != _ACCESS_TOKEN_FETCH_RETRIES - 1:
78 print("error: Unable to fetch access token, exiting...")
81 return _ACCESS_TOKEN_CACHE['token']
89 'Accept': 'application/vnd.github.antiope-preview+json',
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/concretesyntaxmodel/
DCsmElement.java2 * Copyright (C) 2007-2010 Júlio Vilmar Gesser.
3 * Copyright (C) 2011, 2013-2016 The JavaParser Team.
22 package com.github.javaparser.printer.concretesyntaxmodel;
24 import com.github.javaparser.GeneratedJavaParserConstants;
25 import com.github.javaparser.ast.Node;
26 import com.github.javaparser.ast.observer.ObservableProperty;
27 import com.github.javaparser.printer.SourcePrinter;
32 import static com.github.javaparser.TokenTypes.*;
33 import static com.github.javaparser.utils.Utils.EOL;
67 static CsmElement token(int tokenType) { in token() method
[all …]
/external/oss-fuzz/infra/cifuzz/external-actions/run_fuzzers/
Daction.yml2 name: 'run-fuzzers'
9 fuzz-seconds:
13 dry-run:
19 run-fuzzers-mode:
23 "batch" is for non-interactive fuzzing of an entire project.
27 github-token:
29 Token for GitHub API. WARNING: THIS SHOULD NOT BE USED IN PRODUCTION YET
31 hardcode the token.
32 TODO(https://github.com/google/oss-fuzz/pull/5841#discussion_r639393361):
35 storage-repo:
[all …]
/external/rust/crates/syn/src/
Dident.rs8 use crate::token::Token;
15 pub fn Ident(marker: lookahead::TokenMarker) -> Ident { in Ident()
20 fn accept_as_ident(ident: &Ident) -> bool { in accept_as_ident()
23 // Based on https://doc.rust-lang.org/grammar.html#keywords in accept_as_ident()
24 // and https://github.com/rust-lang/rfcs/blob/master/text/2421-unreservations-2018.md in accept_as_ident()
25 // and https://github.com/rust-lang/rfcs/blob/master/text/2420-unreserve-proc.md in accept_as_ident()
40 fn parse(input: ParseStream) -> Result<Self> { in parse()
53 impl Token for Ident {
54 fn peek(cursor: Cursor) -> bool { in peek()
62 fn display() -> &'static str { in display()
[all …]

12345678910>>...43