Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for 23e1 (0.05 sec)

  1. src/encoding/json/decode_test.go

    	tests := []struct {
    		CaseName
    		in       string
    		i        int64
    		intErr   string
    		f        float64
    		floatErr string
    	}{
    		{CaseName: Name(""), in: "-1.23e1", intErr: "strconv.ParseInt: parsing \"-1.23e1\": invalid syntax", f: -1.23e1},
    		{CaseName: Name(""), in: "-12", i: -12, f: -12.0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  2. src/math/big/float_test.go

    		}
    	}
    }
    
    func TestFloatIsInt(t *testing.T) {
    	for _, test := range []string{
    		"0 int",
    		"-0 int",
    		"1 int",
    		"-1 int",
    		"0.5",
    		"1.23",
    		"1.23e1",
    		"1.23e2 int",
    		"0.000000001e+8",
    		"0.000000001e+9 int",
    		"1.2345e200 int",
    		"Inf",
    		"+Inf",
    		"-Inf",
    	} {
    		s := strings.TrimSuffix(test, " int")
    		want := s != test
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/feature/feature_support_checker_test.go

    					{Version: "3.5.10", Endpoint: "localhost:2391"}},
    					expectedResult: false}},
    		},
    		{
    			testName: "Disabled - disables if called with all client doesn't support it",
    			rounds: []testCase{
    				{endpointsVersion: []mockEndpointVersion{
    					{Version: "3.5.9", Endpoint: "localhost:2390"},
    					{Version: "3.5.10", Endpoint: "localhost:2391"}},
    					expectedResult: false}},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_zos_s390x.go

    	SYS___CBRT_H                        = 0x8FA // 2298
    	SYS___COPYSIGNF_H                   = 0x8FB // 2299
    	SYS___COPYSIGNL_H                   = 0x8FC // 2300
    	SYS___COS_H                         = 0x8FD // 2301
    	SYS___COSF_H                        = 0x8FE // 2302
    	SYS___COSL_H                        = 0x8FF // 2303
    	SYS___COSHF_H                       = 0x900 // 2304
    	SYS___COSHL_H                       = 0x901 // 2305
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 146.6K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_ppc64_linker_funcs.txt

    # Tests that the linker implements the PPC64 ELFv2 ABI
    # register save and restore functions as defined in
    # section 2.3.3.1 of the PPC64 ELFv2 ABI when linking
    # external objects most likely compiled with gcc's
    # -Os option.
    #
    # Verifies golang.org/issue/52366 for linux/ppc64le
    [!GOOS:linux] skip
    [!compiler:gc] skip
    [!cgo] skip
    [!GOARCH:ppc64le] skip
    
    go build -ldflags='-linkmode=internal'
    exec ./abitest
    stdout success
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

                    dependencies.create("javax.xml.bind:jaxb-api:2.3.0"),
                    dependencies.create("com.sun.xml.bind:jaxb-core:2.3.0.1"),
                    dependencies.create("com.sun.xml.bind:jaxb-impl:2.3.0.1"),
                    dependencies.create("javax.activation:activation:1.1.1")
            );
        }
    
        private Configuration resolveGuava() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 26 10:58:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  7. src/math/rand/rng.go

    	}
    )
    
    type rngSource struct {
    	tap  int           // index into vec
    	feed int           // index into vec
    	vec  [rngLen]int64 // current feedback register
    }
    
    // seed rng x[n+1] = 48271 * x[n] mod (2**31 - 1)
    func seedrand(x int32) int32 {
    	const (
    		A = 48271
    		Q = 44488
    		R = 3399
    	)
    
    	hi := x / Q
    	lo := x % Q
    	x = A*lo - R*hi
    	if x < 0 {
    		x += int32max
    	}
    	return x
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 04 14:20:53 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  8. src/encoding/gob/timing_test.go

    	for i := range a {
    		a[i] = 1.2 + 3.4i
    	}
    	benchmarkEncodeSlice(b, a)
    }
    
    func BenchmarkEncodeFloat64Slice(b *testing.B) {
    	a := make([]float64, 1000)
    	for i := range a {
    		a[i] = 1.23e4
    	}
    	benchmarkEncodeSlice(b, a)
    }
    
    func BenchmarkEncodeInt32Slice(b *testing.B) {
    	a := make([]int32, 1000)
    	for i := range a {
    		a[i] = int32(i * 100)
    	}
    	benchmarkEncodeSlice(b, a)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 04 07:16:59 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  9. src/crypto/subtle/constant_time.go

    	ymask := byte(^(v - 1))
    	for i := 0; i < len(x); i++ {
    		x[i] = x[i]&xmask | y[i]&ymask
    	}
    }
    
    // ConstantTimeLessOrEq returns 1 if x <= y and 0 otherwise.
    // Its behavior is undefined if x or y are negative or > 2**31 - 1.
    func ConstantTimeLessOrEq(x, y int) int {
    	x32 := int32(x)
    	y32 := int32(y)
    	return int(((x32 - y32 - 1) >> 31) & 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 01:54:27 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {1, 2, 3}, 3, new byte[] {1, 2, 3});
        testRotate(new byte[] {1, 2, 3}, 4, new byte[] {3, 1, 2});
        testRotate(new byte[] {1, 2, 3}, 5, new byte[] {2, 3, 1});
    
        testRotate(new byte[] {1, 2, 3, 4}, -9, new byte[] {2, 3, 4, 1});
        testRotate(new byte[] {1, 2, 3, 4}, -5, new byte[] {2, 3, 4, 1});
        testRotate(new byte[] {1, 2, 3, 4}, -1, new byte[] {2, 3, 4, 1});
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top