Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for cap (0.14 sec)

  1. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        /**
         * 
         */
        public static final int SMB2_SHARE_CAP_DFS = 0x8;
    
        /**
         * 
         */
        public static final int SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY = 0x10;
    
        /**
         * 
         */
        public static final int SMB2_SHARE_CAP_SCALEOUT = 0x20;
    
        /**
         * 
         */
        public static final int SMB2_SHARE_CAP_CLUSTER = 0x40;
    
        /**
         * 
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon May 23 14:35:20 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  2. internal/bpool/bpool_test.go

    	}
    
    	// Check with width cap
    	if bufPool.WidthCap() != capWidth {
    		t.Fatalf("bytepool capWidth invalid: got %v want %v", bufPool.WidthCap(), capWidth)
    	}
    
    	// Check that retrieved buffer are of the expected width
    	b := bufPool.Get()
    	if len(b) != width {
    		t.Fatalf("bytepool length invalid: got %v want %v", len(b), width)
    	}
    	if cap(b) != capWidth {
    		t.Fatalf("bytepool cap invalid: got %v want %v", cap(b), capWidth)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 19:13:27 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  3. api/except.txt

    pkg syscall (freebsd-arm), const SYS_CAP_FCNTLS_GET = 537
    pkg syscall (freebsd-arm), const SYS_CAP_FCNTLS_GET ideal-int
    pkg syscall (freebsd-arm), const SYS_CAP_FCNTLS_LIMIT = 536
    pkg syscall (freebsd-arm), const SYS_CAP_FCNTLS_LIMIT ideal-int
    pkg syscall (freebsd-arm), const SYS_CAP_IOCTLS_GET = 535
    pkg syscall (freebsd-arm), const SYS_CAP_IOCTLS_GET ideal-int
    pkg syscall (freebsd-arm), const SYS_CAP_IOCTLS_LIMIT = 534
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu May 25 00:13:30 GMT 2023
    - 34.6K bytes
    - Viewed (0)
  4. internal/dsync/utils.go

    import (
    	"math/rand"
    	"time"
    )
    
    func backoffWait(min, unit, cap time.Duration) func(*rand.Rand, uint) time.Duration {
    	if unit > time.Hour {
    		// Protect against integer overflow
    		panic("unit cannot exceed one hour")
    	}
    	return func(r *rand.Rand, attempt uint) time.Duration {
    		sleep := min
    		sleep += unit * time.Duration(attempt)
    		if sleep > cap {
    			sleep = cap
    		}
    		sleep -= time.Duration(r.Float64() * float64(sleep))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat May 13 15:42:21 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  5. src/arena/arena_test.go

    	defer a.Free()
    
    	tt := arena.New[T1](a)
    	tt.n = 1
    
    	ts := arena.MakeSlice[T1](a, 99, 100)
    	if len(ts) != 99 {
    		t.Errorf("Slice() len = %d, want 99", len(ts))
    	}
    	if cap(ts) != 100 {
    		t.Errorf("Slice() cap = %d, want 100", cap(ts))
    	}
    	ts[1].n = 42
    }
    
    func TestSmokeLarge(t *testing.T) {
    	a := arena.NewArena()
    	defer a.Free()
    	for i := 0; i < 10*64; i++ {
    		_ = arena.New[T2](a)
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 742 bytes
    - Viewed (0)
  6. internal/grid/grid.go

    var PutByteBuffer = func(b []byte) {
    	if cap(b) >= biggerBufMin && cap(b) < biggerBufMax {
    		internal32KByteBuffer.Put(&b)
    		return
    	}
    	if cap(b) >= minBufferSize && cap(b) < biggerBufMin {
    		internalByteBuffer.Put(&b)
    		return
    	}
    }
    
    // readAllInto reads from r and appends to b until an error or EOF and returns the data it read.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 02 15:56:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. internal/bpool/bpool.go

    		w:    width,
    		wcap: capwidth,
    	}
    }
    
    // Populate - populates and pre-warms the byte pool, this function is non-blocking.
    func (bp *BytePoolCap) Populate() {
    	for _, buf := range reedsolomon.AllocAligned(cap(bp.c), bp.wcap) {
    		bp.Put(buf[:bp.w])
    	}
    }
    
    // Get gets a []byte from the BytePool, or creates a new one if none are
    // available in the pool.
    func (bp *BytePoolCap) Get() (b []byte) {
    	if bp == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  8. manifests/charts/istio-cni/templates/daemonset.yaml

                # privileged is redundant with CAP_SYS_ADMIN
                # since it's redundant, hardcode it to `true`, then manually drop ALL + readd granular
                # capabilities we actually require
                capabilities:
                  drop:
                  - ALL
                  add:
                  # CAP_NET_ADMIN is required to allow ipset and route table access
                  - NET_ADMIN
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Feb 28 17:29:38 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  9. cmd/batch-expire_gen.go

    				return
    			}
    		case "Rules":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Rules")
    				return
    			}
    			if cap(z.Rules) >= int(zb0002) {
    				z.Rules = (z.Rules)[:zb0002]
    			} else {
    				z.Rules = make([]BatchJobExpireFilter, zb0002)
    			}
    			for za0001 := range z.Rules {
    				err = z.Rules[za0001].DecodeMsg(dc)
    				if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  10. src/arena/arena.go

    // not be used after the arena is freed. Accessing the underlying storage of the
    // slice after free may result in a fault, but this fault is also not guaranteed.
    func MakeSlice[T any](a *Arena, len, cap int) []T {
    	var sl []T
    	runtime_arena_arena_Slice(a.a, &sl, cap)
    	return sl[:len]
    }
    
    // Clone makes a shallow copy of the input value that is no longer bound to any
    // arena it may have been allocated from, returning the copy. If it was not
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
Back to top