Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for tok (0.01 seconds)

  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/asm/parse.go

    			if tok == '\n' || tok == ';' || (nesting == 0 && (tok == ',' || tok == ':')) {
    				if tok == ':' {
    					// Remember this location so we can swap the operands below.
    					if colon >= 0 {
    						p.errorf("invalid ':' in operand")
    						return word, cond, operands, true
    					}
    					colon = len(operands)
    				}
    				break
    			}
    			if tok == '(' || tok == '[' {
    				nesting++
    			}
    			if tok == ')' || tok == ']' {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java

                StringBuilder tokBuf = new StringBuilder(10);
                String tok;
                boolean inQuote = false;
                boolean tokStarted = false;
                boolean exit = false;
                while ((st.hasMoreTokens()) && (!exit)) {
                    tok = st.nextToken(tokenList);
                    switch (tok) {
                        case "\"":
                            inQuote = !inQuote;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                StringBuilder tokBuf = new StringBuilder(10);
                String tok;
                boolean inQuote = false;
                boolean tokStarted = false;
                boolean exit = false;
                while ((st.hasMoreTokens()) && (!exit)) {
                    tok = st.nextToken(tokenList);
                    switch (tok) {
                        case "\"":
                            inQuote = !inQuote;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top