Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,095 for heapLen (0.19 sec)

  1. cmd/bucket-policy.go

    	data, err := json.Marshal(bucketPolicy)
    	if err != nil {
    		// This should not happen because bucketPolicy is valid to convert to JSON data.
    		return nil, err
    	}
    
    	var policyInfo miniogopolicy.BucketAccessPolicy
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err = json.Unmarshal(data, &policyInfo); err != nil {
    		// This should not happen because data is valid to JSON data.
    		return nil, err
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/fixedbugs_test.go

    		// read by the write barrier code.
    		g = makeT()
    		sink = make([]byte, 1000) // force write barriers to eventually happen
    	}
    }
    func TestIssue15854b(t *testing.T) {
    	const N = 10000
    	a := make([]T, N)
    	for i := 0; i < N; i++ {
    		a = append(a, makeT())
    		sink = make([]byte, 1000) // force write barriers to eventually happen
    	}
    	for i, v := range a {
    		if v.x[0] != 0 {
    			t.Fatalf("a[%d].x[0] clobbered with %x\n", i, v.x[0])
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     *   <li>enqueuing weak references to unreachable referents in their reference queue
     * </ul>
     *
     * <p>This class uses (possibly repeated) invocations of {@link java.lang.System#gc()} to cause
     * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a
     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/composableFunctionMultiModules.kt

    ) {}
    
    // MODULE: main(lib)
    // FILE: main.kt
    import org.jetbrains.kotlin.fir.plugin.MyComposable
    import p3.Foo
    
    @MyComposable
    public fun Bar() {
        Foo(
            text = {}, // @Composable invocations can only happen from the context of a @Composable function
        )
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Feb 26 21:57:23 UTC 2024
    - 506 bytes
    - Viewed (0)
  5. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/ObjectConnectionBuilder.java

         * This may happen because the peer has signalled that it has finished sending messages, or closes the connection, or crashes. It may also happen when
         * this side of the connection is closed using {@link ObjectConnection#stop()}.
         * </p>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. pkg/controller/podautoscaler/monitor/metrics.go

    			StabilityLevel: metrics.ALPHA,
    		}, []string{"action", "error"})
    
    	reconciliationsDuration = metrics.NewHistogramVec(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 22:47:24 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. src/cmd/vet/testdata/nilfunc/nilfunc.go

    // license that can be found in the LICENSE file.
    
    package nilfunc
    
    func F() {}
    
    func Comparison() {
    	if F == nil { // ERROR "comparison of function F == nil is always false"
    		panic("can't happen")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 20 15:46:42 UTC 2019
    - 313 bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/GcFinalization.java

     *   <li>enqueuing weak references to unreachable referents in their reference queue
     * </ul>
     *
     * <p>This class uses (possibly repeated) invocations of {@link java.lang.System#gc()} to cause
     * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a
     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/plugin_test.go

    		testServerURL = testServer.URL
    	}
    
    	objectInterfaces := webhooktesting.NewObjectInterfacesForTest()
    
    	serverURL, err := url.ParseRequestURI(testServerURL)
    	if err != nil {
    		b.Fatalf("this should never happen? %v", err)
    	}
    
    	stopCh := make(chan struct{})
    	defer close(stopCh)
    
    	for _, tt := range webhooktesting.NewNonMutatingTestCases(serverURL) {
    		// For now, skip failure cases or tests that explicitly skip benchmarking
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. pilot/pkg/util/network/ip.go

    // are valid IPv6 address, for all other cases it returns false.
    func AllIPv6(ipAddrs []string) bool {
    	for i := 0; i < len(ipAddrs); i++ {
    		addr, err := netip.ParseAddr(ipAddrs[i])
    		if err != nil {
    			// Should not happen, invalid IP in proxy's IPAddresses slice should have been caught earlier,
    			// skip it to prevent a panic.
    			continue
    		}
    		if addr.Is4() {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 21:27:21 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top