Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for tok (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

                plugin = new Plugin();
                plugin.setGroupId(tok[0]);
                plugin.setArtifactId(tok[1]);
                plugin.setVersion(tok[2]);
                goal.append(tok[3]);
    
                // This won't be valid, but it constructs something easy to read in the error message
                for (int idx = 4; idx < tok.length; idx++) {
                    goal.append(":").append(tok[idx]);
                }
            } else if (numTokens == 3) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  2. src/cmd/asm/internal/lex/input.go

    	nesting := 0
    	var tokens []Token
    	for {
    		tok := in.Stack.Next()
    		if tok == scanner.EOF || tok == '\n' {
    			in.Error("unterminated arg list invoking macro:", macro.name)
    		}
    		if nesting == 0 && (tok == ')' || tok == ',') {
    			return tokens, tok
    		}
    		if tok == '(' {
    			nesting++
    		}
    		if tok == ')' {
    			nesting--
    		}
    		tokens = append(tokens, Make(tok, in.Stack.Text()))
    	}
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                    if (minorVersion == null) {
                        fallback = true;
                    }
                }
                if (idx < tok.length) {
                    incrementalVersion = getNextIntegerToken(tok[idx++]);
                    if (incrementalVersion == null) {
                        fallback = true;
                    }
                }
                if (idx < tok.length) {
                    qualifier = tok[idx];
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/spnego/SpnegoTokenTest.java

         */
        static class TestSpnegoToken extends SpnegoToken {
            private boolean parsed = false;
    
            @Override
            public byte[] toByteArray() {
                byte[] tok = getMechanismToken();
                return tok == null ? new byte[0] : tok;
            }
    
            @Override
            protected void parse(byte[] token) throws IOException {
                if (token == null) {
                    throw new IOException("token is null");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/MIENameTest.java

                        byte[] tok = new byte[] { 0x04, 0x01 };
                        byte[] buf = new byte[2 + 2 + der.length + 4];
                        int p = 0;
                        buf[p++] = tok[0];
                        buf[p++] = tok[1];
                        buf[p++] = 0x00;
                        buf[p++] = (byte) der.length;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/Config.java

            final String p = props.getProperty(key);
            if (p != null) {
                final StringTokenizer tok = new StringTokenizer(p, delim);
                final int len = tok.countTokens();
                final InetAddress[] arr = new InetAddress[len];
                for (int i = 0; i < len; i++) {
                    final String addr = tok.nextToken();
                    try {
                        arr[i] = InetAddress.getByName(addr);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

        private static byte[] spnegoInitWithMechs(ASN1ObjectIdentifier... mechs) {
            // Build a minimal SPNEGO NegTokenInit containing the provided mechanisms
            NegTokenInit tok = new NegTokenInit(mechs, 0, null, null);
            return tok.toByteArray();
        }
    
        @Test
        @DisplayName("createContext: rejects NetBIOS/short host names")
        void createContext_rejectsShortNetbiosHost() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/Kerb5Authenticator.java

            }
            try {
                NegTokenInit tok = new NegTokenInit(initialToken);
                if (log.isDebugEnabled()) {
                    log.debug("Have initial token " + tok);
                }
                if (tok.getMechanisms() != null) {
                    Set<ASN1ObjectIdentifier> mechs = new HashSet<>(Arrays.asList(tok.getMechanisms()));
                    boolean foundKerberos = false;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  9. src/archive/tar/reader.go

    	}
    
    	// nextToken gets the next token delimited by a newline. This assumes that
    	// at least one newline exists in the buffer.
    	nextToken := func() string {
    		cntNewline--
    		tok, _ := buf.ReadString('\n')
    		return strings.TrimRight(tok, "\n")
    	}
    
    	// Parse for the number of entries.
    	// Use integer overflow resistant math to check this.
    	if err := feedTokens(1); err != nil {
    		return nil, err
    	}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  10. lib/fips140/v1.0.0-c2097c7c.zip

    Drop header comments. cmap[ast.Node(f)] = nil // Remove top-level consts used across the main and generated files. var newDecls []ast.Decl for _, decl := range f.Decls { switch d := decl.(type) { case *ast.GenDecl: if d.Tok == token.CONST { continue // Skip const declarations } if d.Tok == token.IMPORT { cmap[decl] = nil // Drop pre-import comments. } } newDecls = append(newDecls, decl) } f.Decls = newDecls // Replace identifiers. ast.Inspect(f, func(n ast.Node) bool { switch x := n.(type) { case *ast.Ident:...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
Back to Top