Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 733 for isSelect (0.19 sec)

  1. src/os/timeout_test.go

    			t.Error(err)
    		}
    		if err := r.SetReadDeadline(noDeadline); err != nil {
    			t.Error(err)
    		}
    		var b [1]byte
    		_, err := r.Read(b[:])
    		ch <- err
    	}()
    
    	select {
    	case err := <-ch:
    		t.Fatalf("expected Read to not return, but it returned with %v", err)
    	case <-max.C:
    		w.Close()
    		err := <-ch // wait for tester goroutine to stop
    		if os.IsTimeout(err) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/BUILD

            "c_api_experimental.h",
            "c_api_internal.h",
            "c_api_unified_experimental.h",
        ],
        hdrs = ["c_api.h"],
        copts = tf_copts(),
        visibility = ["//visibility:public"],
        deps = select({
            "//tensorflow:android": [
                "//tensorflow/core:portable_tensorflow_lib_lite",
            ],
            "//conditions:default": [
                ":immediate_execution_context",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/dra/plugin/noderesources.go

    				active.cancel(errors.New("plugin does not support node resource reporting"))
    			default:
    				// This is a problem, report it and retry.
    				logger.Error(err, "Creating gRPC stream for node resources failed")
    				select {
    				case <-time.After(backOff.Get(backOffID)):
    					backOff.Next(backOffID, time.Now())
    				case <-ctx.Done():
    				}
    			}
    			continue
    		}
    		for {
    			response, err := stream.Recv()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 20:12:53 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_model.adoc

    If the consumer requested `org.gradle.jvm.version=15`, then Gradle knows either the Java 8 or Java 11 variants could work. Gradle select the highest compatible Java version (11).
    --
    
    [[sec:variant-select-errors]]
    == Variant selection errors
    
    When selecting the most compatible variant of a component, resolution may fail:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go

    		}
    		if e, a := noxuDefinition.Spec.Group+"/"+version, createdNoxuInstance.GetAPIVersion(); e != a {
    			t.Errorf("expected %v, got %v", e, a)
    		}
    		for watchVersion, noxuWatch := range noxuWatchs {
    			select {
    			case watchEvent := <-noxuWatch.ResultChan():
    				if e, a := watch.Added, watchEvent.Type; e != a {
    					t.Errorf("expected %v, got %v", e, a)
    					break
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 11:35:33 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. src/database/sql/driver/driver.go

    //
    // If the driver supports cursors, a returned Value may also implement the [Rows] interface
    // in this package. This is used, for example, when a user selects a cursor
    // such as "select cursor(select * from my_table) from dual". If the [Rows]
    // from the select is closed, the cursor [Rows] will also be closed.
    type Value any
    
    // NamedValue holds both the value name and value.
    type NamedValue struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 09:04:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelector.java

    import java.util.ArrayList;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    
    /**
     * A {@link ArtifactVariantSelector} that uses attribute matching to select a matching set of artifacts.
     *
     * If no producer variant is compatible with the requested attributes, this selector will attempt to construct a chain of artifact
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 30 13:33:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. cmd/metacache-entries.go

    	// Use simpler forwarder.
    	if len(in) == 1 {
    		for {
    			select {
    			case <-ctxDone:
    				return ctx.Err()
    			case v, ok := <-in[0]:
    				if !ok {
    					return nil
    				}
    				select {
    				case <-ctxDone:
    					return ctx.Err()
    				case out <- v:
    				}
    			}
    		}
    	}
    
    	selectFrom := func(idx int) error {
    		select {
    		case <-ctxDone:
    			return ctx.Err()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 04:34:26 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/order.go

    	// give this away).
    	case ir.OSELECT:
    		n := n.(*ir.SelectStmt)
    		t := o.markTemp()
    		for _, ncas := range n.Cases {
    			r := ncas.Comm
    			ir.SetPos(ncas)
    
    			// Append any new body prologue to ninit.
    			// The next loop will insert ninit into nbody.
    			if len(ncas.Init()) != 0 {
    				base.Fatalf("order select ninit")
    			}
    			if r == nil {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/LocalFileDependencyBackedArtifactSetCodec.kt

                    val recordingSet = RecordingVariantSet(value.dependencyMetadata.files, sourceAttributes)
                    val selected = value.variantSelector.select(recordingSet, value.requestAttributes, true, recordingSet)
                    if (selected == ResolvedArtifactSet.EMPTY) {
                        // Don't need to record the mapping
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top