Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,937 for too (0.02 sec)

  1. src/internal/saferio/io.go

    // After the slice is allocated with the capacity, it should be
    // built using append. This will avoid allocating too much memory
    // if the capacity is large and incorrect.
    //
    // A negative result means that the value is always too big.
    func SliceCapWithSize(size, c uint64) int {
    	if int64(c) < 0 || c != uint64(int(c)) {
    		return -1
    	}
    	if size > 0 && c > (1<<64-1)/size {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 00:34:05 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/cgo_flag_contains_space.txt

    go build -x -n main.go
    stderr '"-I[^"]+c flags"' # find quoted c flags
    ! stderr '"-I[^"]+c flags".*"-I[^"]+c flags"' # don't find too many quoted c flags per line
    stderr '"-L[^"]+ld flags"' # find quoted ld flags
    ! stderr '"-L[^"]+c flags".*"-L[^"]+c flags"' # don't find too many quoted ld flags per line
    
    -- main.go --
    package main
    // #cgo CFLAGS: -I"c flags"
    // #cgo LDFLAGS: -L"ld flags"
    import "C"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 12 17:46:03 UTC 2020
    - 523 bytes
    - Viewed (0)
  3. src/go/types/sizes.go

    	// A negative entry in the result indicates that the struct is too large.
    	Offsetsof(fields []*Var) []int64
    
    	// Sizeof returns the size of a variable of type T.
    	// Sizeof must implement the size guarantees required by the spec.
    	// A negative result indicates that T is too large.
    	Sizeof(T Type) int64
    }
    
    // StdSizes is a convenience type for creating commonly used Sizes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller_test.go

    		if err == nil || err.Error() != "Request entity too large: way too big" {
    			t.Fatal(err)
    		}
    		if len(client.Actions()) != 2 {
    			t.Fatal(client.Actions())
    		}
    		_, ok := client.Actions()[1].(clienttesting.DeleteAction)
    		if !ok {
    			t.Fatal(client.Actions())
    		}
    	})
    
    	t.Run("ca bundle too large", func(t *testing.T) {
    		client := fake.NewSimpleClientset()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  5. test/fixedbugs/issue9862_run.go

    	outstr := string(out)
    	if err == nil {
    		println("go run issue9862.go succeeded, should have failed\n", outstr)
    		return
    	}
    	if !strings.Contains(outstr, "symbol too large") {
    		println("go run issue9862.go gave unexpected error; want symbol too large:\n", outstr)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 662 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/debuginfo/concrete_function_error.py

    # CHECK:     y = tf.math.betainc(x, 0.5, 1.0)  # Not supported
    # CHECK:     ^
    # CHECK: <unknown>:0: error: failed while converting: 'main'
    
    # pylint: enable=line-too-long
    
    
    def main(argv):
      if len(argv) > 1:
        raise app.UsageError('Too many command-line arguments.')
    
      try:
        TestGraphDebugInfo().testConcreteFunctionDebugInfo()
      except Exception as e:  # pylint: disable=broad-except
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  7. test/fixedbugs/issue48834.go

    	var x int
    	return x // ERROR "not enough (arguments to return|return values)\n\thave \(int\)\n\twant \(int, error\)"
    }
    
    func _() int {
    	return 1, 2 // ERROR "too many (arguments to return|return values)\n\thave \(number, number\)\n\twant \(int\)"
    }
    
    func _() {
    	return 1 // ERROR "too many (arguments to return|return values)\n\thave \(number\)\n\twant \(\)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 18 21:43:02 UTC 2022
    - 709 bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go

    	{22, "EINVAL", "invalid argument"},
    	{23, "ENFILE", "too many open files in system"},
    	{24, "EMFILE", "too many open files"},
    	{25, "ENOTTY", "inappropriate ioctl for device"},
    	{26, "ETXTBSY", "text file busy"},
    	{27, "EFBIG", "file too large"},
    	{28, "ENOSPC", "no space left on device"},
    	{29, "ESPIPE", "illegal seek"},
    	{30, "EROFS", "read-only file system"},
    	{31, "EMLINK", "too many links"},
    	{32, "EPIPE", "broken pipe"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/flags_test.go

    			if a != b {
    				t.Errorf("asmAdd diff: x=%x y=%x got=%s want=%s\n", x, y, a, b)
    			}
    			coverage[a] = true
    		}
    	}
    	if len(coverage) != 9 { // TODO: can we cover all outputs?
    		t.Errorf("coverage too small, got %d want 9", len(coverage))
    	}
    }
    
    func TestSubFlagsNative(t *testing.T) {
    	var numbers = []int64{
    		1, 0, -1,
    		2, -2,
    		1<<63 - 1, -1 << 63,
    	}
    	coverage := map[flagConstant]bool{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:36:17 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  10. src/math/big/ratmarsh.go

    	i := x.b.abs.bytes(buf)
    	j := x.a.abs.bytes(buf[:i])
    	n := i - j
    	if int(uint32(n)) != n {
    		// this should never happen
    		return nil, errors.New("Rat.GobEncode: numerator too large")
    	}
    	byteorder.BePutUint32(buf[j-4:j], uint32(n))
    	j -= 1 + 4
    	b := ratGobVersion << 1 // make space for sign bit
    	if x.a.neg {
    		b |= 1
    	}
    	buf[j] = b
    	return buf[j:], nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top