Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,645 for too (1.36 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. test/append1.go

    	_ = append(s...)       // ERROR "cannot use ... on first argument|not enough arguments in call to append"
    	_ = append(s, 2, s...) // ERROR "too many arguments to append|too many arguments in call to append"
    
    	_ = append(s, make([]int, 0))     // ERROR "cannot use make\(\[\]int, 0\) \(value of type \[\]int\) as int value in argument to append"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 22:28:39 UTC 2022
    - 856 bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableComponentResolveResultTest.groovy

            then:
            IllegalStateException e = thrown()
            e.message == 'No result has been specified.'
        }
    
        def "cannot get id when resolve failed"() {
            org.gradle.internal.Factory<String> broken = { "too bad" }
            def failure = new ModuleVersionResolveException(newSelector(DefaultModuleIdentifier.newId("a", "b"), "c"), broken)
    
            when:
            result.failed(failure)
            result.moduleVersionId
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.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: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top