Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 112 for small7 (0.33 sec)

  1. src/bufio/bufio_test.go

    				if len(p) < 5 {
    					panic("unexpected small read")
    				}
    				return 5, errors.New("5-then-error")
    			}),
    			n:            4,
    			want:         4,
    			wantErr:      nil,
    			wantBuffered: 1,
    		},
    		{
    			name: "fill error, discard equal",
    			r: newScriptedReader(func(p []byte) (n int, err error) {
    				if len(p) < 5 {
    					panic("unexpected small read")
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  2. src/crypto/tls/conn.go

    //     larger TLS records better amortize framing and encryption overheads.
    //
    // A simple heuristic that works well in practice is to use small records for
    // the first 1MB of data, then use larger records for subsequent data, and
    // reset back to smaller records after the connection becomes idle. See "High
    // Performance Web Networking", Chapter 4, or:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  3. src/math/big/int_test.go

    			buf = make([]byte, 100)
    			for i := range buf {
    				buf[i] = 0xff
    			}
    			checkResult(t, x.FillBytes(buf), x)
    
    			// Too small.
    			if byteLen > 0 {
    				buf = make([]byte, byteLen-1)
    				if !panics(func() { x.FillBytes(buf) }) {
    					t.Errorf("expected panic for small buffer and value %x", x)
    				}
    			}
    		})
    	}
    }
    
    func TestNewIntMinInt64(t *testing.T) {
    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. cmd/erasure-object.go

    }
    
    // DeleteObjects deletes objects/versions in bulk, this function will still automatically split objects list
    // into smaller bulks if some object names are found to be duplicated in the delete list, splitting
    // into smaller bulks will avoid holding twice the write lock of the duplicated object names.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  5. src/os/os_test.go

    		t.Fatalf("open %q failed: %v", dir, err2)
    	}
    	defer file1.Close()
    	small := smallReaddirnames(file1, len(all)+100, t) // +100 in case we screw up
    	if len(small) < len(all) {
    		t.Fatalf("len(small) is %d, less than %d", len(small), len(all))
    	}
    	for i, n := range all {
    		if small[i] != n {
    			t.Errorf("small read %q mismatch: %v", small[i], n)
    		}
    	}
    }
    
    func TestReaddirNValues(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    //sys	pwritev2(fd int, iovs []Iovec, offs_l uintptr, offs_h uintptr, flags int) (n int, err error) = SYS_PWRITEV2
    
    // minIovec is the size of the small initial allocation used by
    // Readv, Writev, etc.
    //
    // This small allocation gets stack allocated, which lets the
    // common use case of len(iovs) <= minIovs avoid more expensive
    // heap allocations.
    const minIovec = 8
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      // Timed Get
      // There are a few design constraints to consider
      // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I
      //   have observed 12 micros on 64-bit linux systems to wake up a parked thread). So if the
      //   timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  8. guava/src/com/google/common/util/concurrent/AbstractFuture.java

      // Timed Get
      // There are a few design constraints to consider
      // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I
      //   have observed 12 micros on 64-bit linux systems to wake up a parked thread). So if the
      //   timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  9. src/runtime/mprof.go

    //
    // There are several steps between the time that an M experiences contention and
    // when that contention may be added to the profile. This comes from our
    // constraints: We need to keep the critical section of each lock small,
    // especially when those locks are contended. The reporting code cannot acquire
    // new locks until the M has released all other locks, which means no memory
    // allocations and encourages use of (temporary) M-local storage.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  10. configure.py

              all_valid = False
            else:
              ver = int(sm_compute_match.group(2))
              if ver < 30:
                print(
                    'ERROR: TensorFlow only supports small CUDA compute'
                    ' capabilities of sm_30 and higher. Please re-specify the list'
                    ' of compute capabilities excluding version %s.' % ver)
                all_valid = False
              if ver < 35:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
Back to top