Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 512 for nlen (2.12 sec)

  1. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
  2. 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 Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            align(4);
            int i = index;
            final int len = s.length();
            Encdec.enc_uint32le(len + 1, buf, i);
            i += 4;
            Encdec.enc_uint32le(0, buf, i);
            i += 4;
            Encdec.enc_uint32le(len + 1, buf, i);
            i += 4;
            try {
                System.arraycopy(s.getBytes("UTF-16LE"), 0, buf, i, len * 2);
            } catch (final UnsupportedEncodingException uee) {}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. schema/relationship.go

    					return
    				}
    			} else {
    				reguessOrErr()
    				return
    			}
    		}
    	case len(primaryFields) == 0:
    		if len(foreignFields) == 1 && primarySchema.PrioritizedPrimaryField != nil {
    			primaryFields = append(primaryFields, primarySchema.PrioritizedPrimaryField)
    		} else if len(primarySchema.PrimaryFields) == len(foreignFields) {
    			primaryFields = append(primaryFields, primarySchema.PrimaryFields...)
    		} else {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 23.1K bytes
    - Viewed (1)
  5. misc/ios/detect.go

    	}
    	return bytes.TrimSpace(out), nil
    }
    
    func getLines(cmd *exec.Cmd) [][]byte {
    	out := output(cmd)
    	lines := bytes.Split(out, []byte("\n"))
    	// Skip the empty line at the end.
    	if len(lines[len(lines)-1]) == 0 {
    		lines = lines[:len(lines)-1]
    	}
    	return lines
    }
    
    func output(cmd *exec.Cmd) []byte {
    	out, err := cmd.Output()
    	if err != nil {
    		fmt.Println(strings.Join(cmd.Args, "\n"))
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. src/bufio/net_test.go

    	n, err := io.Copy(clientConn, r)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if n != int64(len(data)) {
    		t.Errorf("io.Copy returned %d, want %d", n, len(data))
    	}
    
    	clientConn.Close()
    	tot := <-ch
    
    	if tot != len(data) {
    		t.Errorf("server read %d, want %d", tot, len(data))
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 19:37:07 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/bufio/bufio.go

    		return nil, ErrNegativeCount
    	}
    
    	b.lastByte = -1
    	b.lastRuneSize = -1
    
    	for b.w-b.r < n && b.w-b.r < len(b.buf) && b.err == nil {
    		b.fill() // b.w-b.r < len(b.buf) => buffer is not full
    	}
    
    	if n > len(b.buf) {
    		return b.buf[b.r:b.w], ErrBufferFull
    	}
    
    	// 0 <= n <= len(b.buf)
    	var err error
    	if avail := b.w - b.r; avail < n {
    		// not enough data in buffer
    		n = avail
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                final int id = Encdec.dec_uint16le(type2token, ri);
                final int len = Encdec.dec_uint16le(type2token, ri + 2);
                ri += 4;
                if (id == 0 || ri + len > type2token.length) {
                    break;
                }
                if (id == id0) {
                    try {
                        return new String(type2token, ri, len, SmbConstants.UNI_ENCODING);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. cmd/metacache-walk.go

    			if entry == "" {
    				continue
    			}
    			meta := metaCacheEntry{name: pathJoinBuf(sb, current, entry)}
    
    			// If directory entry on stack before this, pop it now.
    			for len(dirStack) > 0 && dirStack[len(dirStack)-1] < meta.name {
    				pop := dirStack[len(dirStack)-1]
    				select {
    				case <-ctx.Done():
    					return ctx.Err()
    				case out <- metaCacheEntry{name: pop}:
    				}
    				if opts.Recursive {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 26 07:06:43 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. cmd/bucket-replication-utils.go

    	}
    	if len(s) == 0 {
    		return
    	}
    	for p := range strings.SplitSeq(s, ",") {
    		if p == "" {
    			continue
    		}
    		slc := strings.Split(p, "=")
    		if len(slc) != 2 {
    			return r, errInvalidReplicateDecisionFormat
    		}
    		tgtStr := strings.TrimSuffix(strings.TrimPrefix(slc[1], `"`), `"`)
    		tgt := strings.Split(tgtStr, ";")
    		if len(tgt) != 4 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26K bytes
    - Viewed (0)
Back to top