Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,530 for Handles (0.17 sec)

  1. test/fixedbugs/issue42568.go

    // compile
    
    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Ensure that late expansion correctly handles an OpIData with type interface{}
    
    package p
    
    type S struct{}
    
    func (S) M() {}
    
    type I interface {
    	M()
    }
    
    func f(i I) {
    	o := i.(interface{})
    	if _, ok := i.(*S); ok {
    		o = nil
    	}
    	println(o)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 14 17:24:37 UTC 2020
    - 415 bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_remote_test_util.cc

        TFE_OpAddInput(matmul, has_packed_input ? packed_handle : h1_task2, status);
        ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      } else {
        // Handles are on task0 (local), and task2, but op is on task1.
        matmul = MatMulOp(ctx, h0_task0, h1_task2);
      }
      if (remote) {
        TFE_OpSetDevice(matmul, task1_name, status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 11 22:56:03 UTC 2020
    - 9.1K bytes
    - Viewed (0)
  3. src/strconv/fp_test.go

    	switch {
    	case i < 0:
    		return 1 / pow2(-i)
    	case i == 0:
    		return 1
    	case i == 1:
    		return 2
    	}
    	return pow2(i/2) * pow2(i-i/2)
    }
    
    // Wrapper around strconv.ParseFloat(x, 64).  Handles dddddp+ddd (binary exponent)
    // itself, passes the rest on to strconv.ParseFloat.
    func myatof64(s string) (f float64, ok bool) {
    	if mant, exp, ok := strings.Cut(s, "p"); ok {
    		n, err := strconv.ParseInt(mant, 10, 64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  4. doc/next/6-stdlib/2-unique.md

    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    their memory footprint.
    Comparing two `Handle[T]` values is efficient, reducing down to a simple
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:13 UTC 2024
    - 566 bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ConcurrentToolingApiIntegrationSpec.groovy

            settingsFile.touch()
        }
    
        def "handles the same target gradle version concurrently"() {
            buildFile << "apply plugin: 'java'"
    
            when:
            threads.times {
                concurrent.start { useToolingApi(toolingApi) }
            }
    
            then:
            concurrent.finished()
        }
    
        def "handles different target gradle versions concurrently"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  6. plugin/pkg/admission/deny/admission_test.go

    	if err == nil {
    		t.Error("Expected error returned from admission handler")
    	}
    }
    
    func TestHandles(t *testing.T) {
    	handler := NewAlwaysDeny()
    	tests := []admission.Operation{admission.Create, admission.Connect, admission.Update, admission.Delete}
    
    	for _, test := range tests {
    		if !handler.Handles(test) {
    			t.Errorf("Expected handling all operations, including: %v", test)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  7. releasenotes/notes/50132.yaml

        For this to work, it must be configured as a `ClusterIP` Service with
        redirection enabled. This is colloquially referred to as a "gateway
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:09 UTC 2024
    - 659 bytes
    - Viewed (0)
  8. pilot/pkg/bootstrap/webhook.go

    	}
    	return len(p), nil
    }
    
    // initSSecureWebhookServer handles initialization for the HTTPS webhook server.
    // If https address is off the injection handlers will be registered on the main http endpoint, with
    // TLS handled by a proxy/gateway in front of Istiod.
    func (s *Server) initSecureWebhookServer(args *PilotArgs) {
    	// create the https server for hosting the k8s injectionWebhook handlers.
    	if args.ServerOptions.HTTPSAddr == "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 17:37:53 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/StreamHandler.kt

     */
    package mockwebserver3
    
    import okhttp3.ExperimentalOkHttpApi
    
    /**
     * Handles a call's stream directly. Use this instead of [MockResponseBody] to begin sending
     * response data before all request data has been received.
     *
     * See [okhttp3.RequestBody.isDuplex].
     */
    @ExperimentalOkHttpApi
    interface StreamHandler {
      fun handle(stream: Stream)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 945 bytes
    - Viewed (0)
  10. pkg/apis/resource/validation/validation_resourceclaim_test.go

    			ResourceHandles: func() []resource.ResourceHandle {
    				var handles []resource.ResourceHandle
    				for i := 0; i < resource.AllocationResultResourceHandlesMaxSize; i++ {
    					handle := resource.ResourceHandle{
    						DriverName: "valid",
    						Data:       strings.Repeat(" ", resource.ResourceHandleDataMaxSize),
    					}
    					handles = append(handles, handle)
    				}
    				return handles
    			}(),
    			Shareable: true,
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.7K bytes
    - Viewed (0)
Back to top