Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 370 for biglen (0.14 sec)

  1. cmd/dynamic-timeouts.go

    	dynamicTimeoutLogSize              = 16
    	maxDuration                        = math.MaxInt64
    	maxDynamicTimeout                  = 24 * time.Hour // Never set timeout bigger than this.
    )
    
    // timeouts that are dynamically adapted based on actual usage results
    type dynamicTimeout struct {
    	timeout       int64
    	minimum       int64
    	entries       int64
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Aug 19 23:21:05 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  2. src/syscall/dirent_test.go

    	for {
    		n, err := syscall.ReadDirent(fd, buf)
    		if err == syscall.EINVAL {
    			// On linux, 'man getdents64' says that EINVAL indicates “result buffer is too small”.
    			// Try a bigger buffer.
    			t.Logf("ReadDirent: %v; retrying with larger buffer", err)
    			buf = bytes.Repeat([]byte{0xCD}, len(buf)*2)
    			continue
    		}
    		if err != nil {
    			t.Fatalf("syscall.readdir: %v", err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/runtime/mfixalloc.go

    	nalloc uint32  // size of new chunks in bytes
    	inuse  uintptr // in-use bytes now
    	stat   *sysMemStat
    	zero   bool // zero allocations
    }
    
    // A generic linked list of blocks.  (Typically the block is bigger than sizeof(MLink).)
    // Since assignments to mlink.next will result in a write barrier being performed
    // this cannot be used by some of the internal GC structures. For example when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 24 20:28:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. src/internal/reflectlite/value.go

    		return int(tt.Len)
    	case abi.Chan:
    		return chanlen(v.pointer())
    	case abi.Map:
    		return maplen(v.pointer())
    	case abi.Slice:
    		// Slice is bigger than a word; assume flagIndir.
    		return (*unsafeheader.Slice)(v.ptr).Len
    	case abi.String:
    		// String is bigger than a word; assume flagIndir.
    		return (*unsafeheader.String)(v.ptr).Len
    	}
    	panic(&ValueError{"reflect.Value.Len", v.kind()})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. src/os/os_windows_test.go

    	if err != nil {
    		return err
    	}
    	defer syscall.CloseHandle(fd)
    
    	buflen := uint32(rdb.header.ReparseDataLength) + uint32(unsafe.Sizeof(rdb.header))
    	var bytesReturned uint32
    	return syscall.DeviceIoControl(fd, windows.FSCTL_SET_REPARSE_POINT,
    		(*byte)(unsafe.Pointer(&rdb.header)), buflen, nil, 0, &bytesReturned, nil)
    }
    
    func createMountPoint(link string, target *reparseData) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  6. src/net/ip.go

    		return nil, nil, &ParseError{Type: "CIDR address", Text: s}
    	}
    
    	n, i, ok := dtoi(mask)
    	if !ok || i != len(mask) || n < 0 || n > ipAddr.BitLen() {
    		return nil, nil, &ParseError{Type: "CIDR address", Text: s}
    	}
    	m := CIDRMask(n, ipAddr.BitLen())
    	addr16 := ipAddr.As16()
    	return IP(addr16[:]), &IPNet{IP: IP(addr16[:]).Mask(m), Mask: m}, nil
    }
    
    func copyIP(x IP) IP {
    	y := make(IP, len(x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. docs/tr/docs/tutorial/request-forms.md

    !!! warning "Uyarı"
        *Yol operasyonları* içerisinde birden fazla `Form` parametresi tanımlayabilirsiniz ancak bunlarla birlikte JSON verisi kabul eden `Body` alanları tanımlayamazsınız çünkü bu durumda istek gövdesi `application/json` yerine `application/x-www-form-urlencoded` ile kodlanmış olur.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed May 08 19:10:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

        ```
    
    ## Abhängigkeiten für eine Gruppe von *Pfadoperationen*
    
    Wenn Sie später lesen, wie Sie größere Anwendungen strukturieren ([Größere Anwendungen – Mehrere Dateien](../../tutorial/bigger-applications.md){.internal-link target=_blank}), möglicherweise mit mehreren Dateien, lernen Sie, wie Sie einen einzelnen `dependencies`-Parameter für eine Gruppe von *Pfadoperationen* deklarieren.
    
    ## Globale Abhängigkeiten
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:09:16 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/math/big/nat.go

    	}
    	return z
    }
    
    func putNat(x *nat) {
    	natPool.Put(x)
    }
    
    var natPool sync.Pool
    
    // bitLen returns the length of x in bits.
    // Unlike most methods, it works even if x is not normalized.
    func (x nat) bitLen() int {
    	// This function is used in cryptographic operations. It must not leak
    	// anything but the Int's sign and bit size through side-channels. Any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

      }
    
      // A random value that cannot be 0 and that is unsigned-less-than or equal
      // to the given dividend, so that we don't have half of our divisions being
      // trivial because the divisor is bigger than the dividend.
      // Using remainder here does not give us a uniform distribution but it should
      // not have a big impact on the measurement.
      private static long randomDivisor(long dividend) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.3K bytes
    - Viewed (0)
Back to top