Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 432 for lens (0.02 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            int expectedLen = 2 + 2 + 2 + 4 + 2 + name.length() + 1;
            byte[] dst = new byte[expectedLen];
    
            // When
            int len = next.writeParametersWireFormat(dst, 0);
    
            // Then
            assertEquals(expectedLen, len, "Unexpected parameters length");
    
            // sid (2 bytes, LE)
            assertEquals((byte) 0x34, dst[0]);
            assertEquals((byte) 0x12, dst[1]);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/UniAddress.java

                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = hostname.length();
                data = hostname.toCharArray();
                while (i < len && Character.isDigit(data[i++])) {
                    if (i == len && dots == 3) {
                        // probably an IP address
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/HashCode.java

        // already a (presumably) high-quality hash code, any four bytes of it will do.
        if (bits() >= 32) {
          return asInt();
        }
        // If we have less than 4 bytes, use them all.
        byte[] bytes = getBytesInternal();
        int val = bytes[0] & 0xFF;
        for (int i = 1; i < bytes.length; i++) {
          val |= (bytes[i] & 0xFF) << (i * 8);
        }
        return val;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

                cur.setReadSize(rl);
                int len = cur.decode(buffer, 0);
    
                if (len > rl) {
                    throw new IOException(String.format("WHAT? ( read %d decoded %d ): %s", rl, len, cur));
                }
                if (nextCommand != 0 && len > nextCommand) {
                    throw new IOException("Overlapping commands");
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  5. internal/s3select/csv/reader_contrib_test.go

    		f := openTestFile(b, "nyc-taxi-data-100k.csv")
    		want := 309
    		for i := 0; i < n; i++ {
    			f = append(f, f...)
    			want *= 2
    		}
    		b.Run(fmt.Sprint(len(f)/(1<<10), "K"), func(b *testing.B) {
    			b.ReportAllocs()
    			b.SetBytes(int64(len(f)))
    			b.ResetTimer()
    			var record sql.Record
    			for b.Loop() {
    				r, err := NewReader(io.NopCloser(bytes.NewBuffer(f)), &args)
    				if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.4K bytes
    - Viewed (0)
  6. cmd/storagemetric_string.go

    func (i storageMetric) String() string {
    	if i >= storageMetric(len(_storageMetric_index)-1) {
    		return "storageMetric(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _storageMetric_name[_storageMetric_index[i]:_storageMetric_index[i+1]]
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. internal/s3select/jstream/errors.go

    	if c == '\'' {
    		return `'\''`
    	}
    	if c == '"' {
    		return `'"'`
    	}
    
    	// use quoted string with different quotation marks
    	s := strconv.Quote(string(c))
    	return "'" + s[1:len(s)-1] + "'"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. internal/grid/manager.go

    		return nil, fmt.Errorf("grid: Dialer not set")
    	}
    	if o.AuthFn == nil {
    		return nil, fmt.Errorf("grid: AuthFn not set")
    	}
    	m := &Manager{
    		ID:        uuid.New(),
    		targets:   make(map[string]*Connection, len(o.Hosts)),
    		local:     o.Local,
    		authToken: o.AuthToken,
    		routePath: o.RoutePath,
    	}
    	m.handlers.init()
    	if ctx == nil {
    		ctx = context.Background()
    	}
    
    	for _, host := range o.Hosts {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Nov 12 20:41:41 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/bufio/bufio.go

    // The bytes are taken from at most one Read on the underlying [Reader],
    // hence n may be less than len(p).
    // To read exactly len(p) bytes, use io.ReadFull(b, p).
    // If the underlying [Reader] can return a non-zero count with io.EOF,
    // then this Read method can do so as well; see the [io.Reader] docs.
    func (b *Reader) Read(p []byte) (n int, err error) {
    	n = len(p)
    	if n == 0 {
    		if b.Buffered() > 0 {
    			return 0, nil
    		}
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. cmd/metrics-v3.go

    		}
    		r.MustRegister(subRegistry)
    		return subRegistry
    	}
    
    	// Register all collectors and create gatherers for them.
    	gatherers := make(map[collectorPath]prometheus.Gatherer, len(collectors))
    	collectorPaths := make([]collectorPath, 0, len(collectors))
    	for path, collector := range collectors {
    		gatherers[path] = mustRegister(collector)
    		collectorPaths = append(collectorPaths, path)
    	}
    	slices.Sort(collectorPaths)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 02 00:55:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top