Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for isSelect (0.13 sec)

  1. tests/query_test.go

    		t.Fatalf("Build Select with slice, but got %v", r.Statement.SQL.String())
    	}
    
    	// SELECT COALESCE(age,'42') FROM users;
    	r = dryDB.Table("users").Select("COALESCE(age,?)", 42).Find(&User{})
    	if !regexp.MustCompile(`SELECT COALESCE\(age,.*\) FROM .*users.*`).MatchString(r.Statement.SQL.String()) {
    		t.Fatalf("Build Select with func, but got %v", r.Statement.SQL.String())
    	}
    
    	// named arguments
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  2. tensorflow/BUILD

    cc_library(
        name = "grpc",
        visibility = ["//visibility:public"],
        deps = select({
            "//conditions:default": ["@com_github_grpc_grpc//:grpc"],
        }),
    )
    
    cc_library(
        name = "grpc++",
        visibility = ["//visibility:public"],
        deps = select({
            "//conditions:default": ["@com_github_grpc_grpc//:grpc++"],
        }),
    )
    # copybara:comment_end
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 16:51:59 UTC 2024
    - 53.5K bytes
    - Viewed (0)
  3. cmd/iam.go

    		return nil, errServerNotInitialized
    	}
    
    	select {
    	case <-sys.configLoaded:
    		return sys.store.GetBucketUsers(bucket)
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // ListUsers - list all users.
    func (sys *IAMSys) ListUsers(ctx context.Context) (map[string]madmin.UserInfo, error) {
    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    	select {
    	case <-sys.configLoaded:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  4. src/net/http/transport.go

    			// to guarantee that persistConn.roundTrip got out of its select
    			// potentially waiting for this persistConn to close.
    			alive = alive &&
    				!pc.sawEOF &&
    				pc.wroteRequest() &&
    				tryPutIdleConn(rc.treq)
    
    			if bodyWritable {
    				closeErr = errCallerOwnsConn
    			}
    
    			select {
    			case rc.ch <- responseAndError{res: resp}:
    			case <-rc.callerGone:
    				return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    			}
    			watcher, err := cacher.Watch(context.Background(), "/pods/test-ns", opts)
    			if err != nil {
    				t.Fatalf("Failed to create watch: %v", err)
    			}
    			defer watcher.Stop()
    			select {
    			case event := <-watcher.ResultChan():
    				if tt.expectedEvent == nil {
    					t.Errorf("Unexpected event: type=%#v, object=%#v", event.Type, event.Object)
    					break
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  6. src/runtime/pprof/pprof_test.go

    			awaitBlockedGoroutine(t, "select", "blockSelectRecvAsync", 1)
    			c <- true
    		}
    	}()
    	for i := 0; i < numTries; i++ {
    		select {
    		case <-c:
    		case <-c2:
    		}
    	}
    }
    
    func blockSelectSendSync(t *testing.T) {
    	c := make(chan bool)
    	c2 := make(chan bool)
    	go func() {
    		awaitBlockedGoroutine(t, "select", "blockSelectSendSync", 1)
    		<-c
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/devicemanager/manager_test.go

    		for _, getPreferredAllocationFlag := range []bool{false, true} {
    			m, ch, p1 := setup(t, devs, nil, socketName, pluginSocketName)
    			p1.Register(socketName, testResourceName, "")
    
    			select {
    			case <-ch:
    			case <-time.After(5 * time.Second):
    				t.Fatalf("timeout while waiting for manager update")
    			}
    			capacity, allocatable, _ := m.GetCapacity()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/AbstractConfigurationAttributesResolveIntegrationTest.groovy

                }
    
            """
    
            when:
            run ':a:checkDebug'
    
            then:
            result.assertTasksExecuted(':b:barJar', ':a:checkDebug')
        }
    
        def "does not select default configuration when no match is found and configurations with attributes"() {
            given:
            createDirs("a", "b")
            file('settings.gradle') << "include 'a', 'b'"
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 17:30:11 UTC 2024
    - 64K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    		Description:    "Other expressions are not allowed in the SELECT list when '*' is used without dot notation in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseCannotMixSqbAndWildcardInSelectList: {
    		Code:           "ParseCannotMixSqbAndWildcardInSelectList",
    		Description:    "Cannot mix [] and * in the same expression in a SELECT list in SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      // select(false_tensor, A, B) -> B
      def Optimize#SelectOp#False : Pat<
        (SelectOp:$result (Arith_ConstantOp $constant),
                          $input1,
                          $input2),
        (replaceWithValue $input2),
        [(HaveSameType $input2, $result),
         (AllElementsAreBool<"false"> $constant)]>;
      // select(logical_not(C), A, B) -> select(C, B, A)
      def Optimize#SelectOp#Not : Pat<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
Back to top