Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 49 for testtoken (0.06 seconds)

  1. tests/gorm_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/driver/mysql"
    
    	"gorm.io/gorm"
    )
    
    func TestOpen(t *testing.T) {
    	dsn := "gorm:gorm@tcp(localhost:9910)/gorm?loc=Asia%2FHongKong" // invalid loc
    	_, err := gorm.Open(mysql.Open(dsn), &gorm.Config{})
    	if err == nil {
    		t.Fatalf("should returns error but got nil")
    	}
    }
    
    func TestReturningWithNullToZeroValues(t *testing.T) {
    	dialect := DB.Dialector.Name()
    	switch dialect {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jun 01 07:22:21 GMT 2023
    - 3.3K bytes
    - Click Count (0)
  2. cmd/s3-zip-handlers.go

    				Name:    objName,
    				Size:    int64(file.UncompressedSize64),
    				ModTime: zipObjInfo.ModTime,
    			})
    			count++
    		}
    	next:
    		nextToken = objName
    	}
    
    	if isTruncated {
    		listObjectsInfo.IsTruncated = true
    		listObjectsInfo.NextContinuationToken = nextToken
    	}
    
    	return listObjectsInfo, nil
    }
    
    // getFilesFromZIPObject reads a partial stream of a zip file to build the zipindex.Files index
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java

            this.transform = transform;
        }
    
        /**
         * Get remote memory key
         *
         * @return remote memory key (token)
         */
        public int getRemoteKey() {
            return transform.getToken();
        }
    
        /**
         * Get remote memory address
         *
         * @return remote memory address (offset)
         */
        public long getAddress() {
            return transform.getOffset();
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/text/Tokenizer.java

         */
        public String getStringValue() {
            return sval;
        }
    
        /**
         * Advances to the next token.
         *
         * @return The type of the token.
         */
        public int nextToken() {
            initVal();
            if (processEOF()) {
                return ttype;
            }
            if (processWhitespace()) {
                return ttype;
            }
            if (processWord()) {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/http/Handler.java

                    final StringTokenizer tokenizer = new StringTokenizer(path, "|");
                    while (tokenizer.hasMoreTokens()) {
                        final String provider = tokenizer.nextToken().trim();
                        if (provider.equals("jcifs.smb1")) {
                            continue;
                        }
                        final String className = provider + "." + protocol + ".Handler";
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  6. src/archive/tar/reader.go

    			buf.Write(blk[:])
    			for _, c := range blk {
    				if c == '\n' {
    					cntNewline++
    				}
    			}
    		}
    		return nil
    	}
    
    	// 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.
    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)
  7. src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java

         */
        public long getOffset() {
            return offset;
        }
    
        /**
         * Get RDMA token
         *
         * @return RDMA provider token
         */
        public int getToken() {
            return token;
        }
    
        /**
         * Get buffer length
         *
         * @return buffer length
         */
        public int getLength() {
            return length;
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SID.java

            final StringTokenizer st = new StringTokenizer(textual, "-");
            if (st.countTokens() < 3 || !st.nextToken().equals("S")) {
                // need S-N-M
                throw new SmbException("Bad textual SID format: " + textual);
            }
    
            this.revision = Byte.parseByte(st.nextToken());
            final String tmp = st.nextToken();
            long id = 0;
            if (tmp.startsWith("0x")) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.5K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java

                String tok;
                boolean inQuote = false;
                boolean tokStarted = false;
                boolean exit = false;
                while ((st.hasMoreTokens()) && (!exit)) {
                    tok = st.nextToken(tokenList);
                    switch (tok) {
                        case "\"":
                            inQuote = !inQuote;
                            if (inQuote) {
                                tokenList = "\"";
    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)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                String tok;
                boolean inQuote = false;
                boolean tokStarted = false;
                boolean exit = false;
                while ((st.hasMoreTokens()) && (!exit)) {
                    tok = st.nextToken(tokenList);
                    switch (tok) {
                        case "\"":
                            inQuote = !inQuote;
                            if (inQuote) {
                                tokenList = "\"";
    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)
Back to Top