Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for b_size (0.17 sec)

  1. src/main/java/jcifs/smb/SmbFile.java

                try {
                    w.start();
                    // use commonly acceptable buffer size
                    int bsize = Math.min(sh.getReceiveBufferSize() - 70, dh.getSendBufferSize() - 70);
                    byte[][] b = new byte[2][bsize];
                    copyRecursive(dest, b, bsize, w, sh, dh);
                }
                finally {
                    w.write(null, -1, null);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  2. src/reflect/type.go

    	switch k {
    	case Int, Int8, Int16, Int32, Int64:
    		bitSize := t.Size() * 8
    		trunc := (x << (64 - bitSize)) >> (64 - bitSize)
    		return x != trunc
    	}
    	panic("reflect: OverflowInt of non-int type " + t.String())
    }
    
    func (t *rtype) OverflowUint(x uint64) bool {
    	k := t.Kind()
    	switch k {
    	case Uint, Uintptr, Uint8, Uint16, Uint32, Uint64:
    		bitSize := t.Size() * 8
    		trunc := (x << (64 - bitSize)) >> (64 - bitSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  3. src/math/big/int_test.go

    		}
    		b.Run(fmt.Sprintf("%d", n), func(b *testing.B) {
    			benchmarkIntSqr(b, n)
    		})
    	}
    }
    
    func benchmarkDiv(b *testing.B, aSize, bSize int) {
    	var r = rand.New(rand.NewSource(1234))
    	aa := randInt(r, uint(aSize))
    	bb := randInt(r, uint(bSize))
    	if aa.Cmp(bb) < 0 {
    		aa, bb = bb, aa
    	}
    	x := new(Int)
    	y := new(Int)
    
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go

    //go:cgo_import_dynamic libc_munmap munmap "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func getfsstat(stat *Statfs_t, bufsize uintptr, flags int) (n int, err error) {
    	r0, _, e1 := syscall_syscall(libc_getfsstat_trampoline_addr, uintptr(unsafe.Pointer(stat)), uintptr(bufsize), uintptr(flags))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 57.7K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	)
    
    	return newReq, nil
    }
    
    // Malform chunk size given a request signed using streaming signatureV4.
    func malformChunkSizeSigV4(req *http.Request, badSize int64) (*http.Request, error) {
    	bufReader := bufio.NewReader(req.Body)
    	_, chunkSignature, err := readChunkLine(bufReader)
    	if err != nil {
    		return nil, err
    	}
    
    	n := badSize
    	newHexChunkSize := []byte(fmt.Sprintf("%x", n))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
Back to top