Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 929 for flen (0.05 sec)

  1. src/bytes/bytes_test.go

    		a[i] = byte(17 * i)
    		b_init[i] = byte(23*i + 100)
    	}
    
    	for len := 0; len <= size; len++ {
    		for x := 0; x <= size-len; x++ {
    			for y := 0; y <= size-len; y++ {
    				copy(b, b_init)
    				copy(b[y:y+len], a[x:x+len])
    				if !Equal(a[x:x+len], b[y:y+len]) || !Equal(b[y:y+len], a[x:x+len]) {
    					t.Errorf("Equal(%d, %d, %d) = false", len, x, y)
    				}
    			}
    		}
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  2. cmd/erasure-healing-common_test.go

    	partsMetadata[0].ModTime = partsMetadata[0].ModTime.Add(-1 * time.Hour)
    
    	errs = make([]error, len(erasureDisks))
    	filteredDisks, _, _ = disksWithAllParts(ctx, erasureDisks, partsMetadata,
    		errs, fi, false, bucket, object, madmin.HealDeepScan)
    
    	if len(filteredDisks) != len(erasureDisks) {
    		t.Errorf("Unexpected number of drives: %d", len(filteredDisks))
    	}
    	for diskIndex, disk := range filteredDisks {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. cmd/object-api-listobjects_test.go

    					if len(testCase.resultL.Prefixes) != len(resultL.Prefixes) {
    						t.Logf("want: %v", testCase.resultL.Prefixes)
    						t.Logf("got: %v", resultL.Prefixes)
    						t.Errorf("Test %d: %s: Expected number of prefixes in the result to be '%d', but found '%d' prefixes instead", i+1, instanceType, len(testCase.resultL.Prefixes), len(resultL.Prefixes))
    					}
    					for j := 0; j < len(testCase.resultL.Prefixes); j++ {
    						if j >= len(resultL.Prefixes) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  4. finisher_api.go

    			}
    		}
    
    		// initialize with attrs, conds
    		if len(db.Statement.attrs) > 0 {
    			result.assignInterfacesToValue(db.Statement.attrs...)
    		}
    
    		// initialize with attrs, conds
    		if len(db.Statement.assigns) > 0 {
    			result.assignInterfacesToValue(db.Statement.assigns...)
    		}
    
    		return tx.Create(dest)
    	} else if len(db.Statement.assigns) > 0 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. internal/config/dns/dns_path.go

    func dnsJoin(labels ...string) string {
    	ll := len(labels)
    	if labels[ll-1] == "." {
    		return strings.Join(labels[:ll-1], ".") + "."
    	}
    	return dns.Fqdn(strings.Join(labels, "."))
    }
    
    // msgUnPath converts a etcd path to domainName.
    func msgUnPath(s string) string {
    	l := strings.Split(s, etcdPathSeparator)
    	if l[len(l)-1] == "" {
    		l = l[:len(l)-1]
    	}
    	// start with 1, to strip /skydns
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java

         * @param data
         * @param off
         * @param len
         */
        public TransCallNamedPipe ( Configuration config, String pipeName, byte[] data, int off, int len ) {
            super(config, SMB_COM_TRANSACTION, TRANS_CALL_NAMED_PIPE);
            this.name = pipeName;
            this.pipeData = data;
            this.pipeDataOff = off;
            this.pipeDataLen = len;
            this.timeout = 0xFFFFFFFF;
            this.maxParameterCount = 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

         * @param fid
         * @param data
         * @param off
         * @param len
         */
        public TransTransactNamedPipe ( Configuration config, int fid, byte[] data, int off, int len ) {
            super(config, SMB_COM_TRANSACTION, TRANS_TRANSACT_NAMED_PIPE);
            this.pipeFid = fid;
            this.pipeData = data;
            this.pipeDataOff = off;
            this.pipeDataLen = len;
            this.maxParameterCount = 0;
            this.maxDataCount = 0xFFFF;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TransCallNamedPipeResponse.java

            return 0;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readDataWireFormat( byte[] buffer, int bufferIndex, int len ) {
            if( pipe.pipeIn != null ) {
                TransactNamedPipeInputStream in = (TransactNamedPipeInputStream)pipe.pipeIn;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileOutputStream.java

                    log.debug("write: fid=" + fh + ",off=" + off + ",len=" + len + ",fp=" +  this.fp);
                }
    
                int w;
                do {
                    int blockSize = ( this.file.getType() == SmbConstants.TYPE_FILESYSTEM ) ? this.writeSizeFile : this.writeSize;
                    w = len > blockSize ? blockSize : len;
    
                    if ( this.smb2 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  10. src/bufio/bufio_test.go

    	var texts [31]string
    	str := ""
    	all := ""
    	for i := 0; i < len(texts)-1; i++ {
    		texts[i] = str + "\n"
    		all += texts[i]
    		str += string(rune(i%26 + 'a'))
    	}
    	texts[len(texts)-1] = all
    
    	for h := 0; h < len(texts); h++ {
    		text := texts[h]
    		for i := 0; i < len(readMakers); i++ {
    			for j := 0; j < len(bufreaders); j++ {
    				for k := 0; k < len(bufsizes); k++ {
    					readmaker := readMakers[i]
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top