Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,697 for isSelect (0.46 sec)

  1. clause/group_by_test.go

    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.GroupBy{
    				Columns: []clause.Column{{Name: "role"}},
    				Having:  []clause.Expression{clause.Eq{"role", "admin"}},
    			}},
    			"SELECT * FROM `users` GROUP BY `role` HAVING `role` = ?",
    			[]interface{}{"admin"},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.GroupBy{
    				Columns: []clause.Column{{Name: "role"}},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/generate.txt

    stdout 'yes' # flag.go should select yes
    ! stdout 'no' # flag.go should not select no
    
    go generate -skip th..sand './generate/flag.go'
    stdout 'yes' # flag.go should select yes
    ! stdout 'no' # flag.go should not select no
    
    go generate -run . -skip th..sand './generate/flag.go'
    stdout 'yes' # flag.go should select yes
    ! stdout 'no' # flag.go should not select no
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 03:24:24 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  3. src/runtime/chan_test.go

    	if math.Abs(float64(cnt1-mean)) > 10*stddev {
    		t.Errorf("unfair select: in %d trials, results were %d, %d", trials, cnt1, cnt2)
    	}
    	close(done)
    	wg.Wait()
    }
    
    func TestChanSendInterface(t *testing.T) {
    	type mt struct{}
    	m := &mt{}
    	c := make(chan any, 1)
    	c <- m
    	select {
    	case c <- m:
    	default:
    	}
    	select {
    	case c <- m:
    	case c <- &mt{}:
    	default:
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:47:35 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmServiceTest.java

                    "test".getBytes(StandardCharsets.UTF_8), service.select(Arrays.asList("SHA-1", "MD5")));
            assertNotNull(checksums);
            assertEquals(2, checksums.size());
            assertEquals("a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", checksums.get(service.select("SHA-1")));
            assertEquals("098f6bcd4621d373cade4e832627b4f6", checksums.get(service.select("MD5")));
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Dec 21 08:05:10 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. internal/s3select/sql/analysis.go

    		}
    	}
    }
    
    func (e *SelectExpression) analyze(s *Select) (result qProp) {
    	if e.All {
    		return qProp{isRowFunc: true}
    	}
    
    	for _, ex := range e.Expressions {
    		result.combine(ex.analyze(s))
    	}
    	return
    }
    
    func (e *AliasedExpression) analyze(s *Select) qProp {
    	return e.Expression.analyze(s)
    }
    
    func (e *Expression) analyze(s *Select) (result qProp) {
    	for _, ac := range e.And {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  6. hack/verify-e2e-test-ownership.sh

        (\$p.category): \$results | map(. + {policy: .policies[] | select(.category == \$p.category)}) | {
          level: \$p.level,
          reason: \$p.reason,
          passing: map(select(.policy.fail | not)) | length,
          failing: map(select(.policy.fail)) | length,
          testnames: map(select(.policy.fail) | .testname),
        }
      })
      # add a meta policy based on whether any policy failed
      + {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 06:46:18 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/AbstractComponentSelectionRulesIntegrationTest.groovy

                    }
                }
                """,
            "select 1.1": """{ ComponentSelection selection ->
                    if (selection.candidate.version != '1.1') {
                        selection.reject("not 1.1")
                    }
                    candidates << selection.candidate.version
                }
                """,
            "select 2.0": """{ ComponentSelection selection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. tests/group_by_test.go

    	var total int
    	if err := DB.Model(&User{}).Select("name, sum(age)").Where("name = ?", "groupby").Group("name").Row().Scan(&name, &total); err != nil {
    		t.Errorf("no error should happen, but got %v", err)
    	}
    
    	if name != "groupby" || total != 60 {
    		t.Errorf("name should be groupby, but got %v, total should be 60, but got %v", name, total)
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  9. pkg/filewatcher/fakefilewatcher_test.go

    		if gotRemove != file {
    			t.Fatalf("Remove() failed: got %v want %v", gotRemove, file)
    		}
    		select {
    		case <-addedChan:
    			t.Fatal("Remove() failed: callback invoked with added=false")
    		default:
    		}
    
    		wantEvent = fsnotify.Event{Name: file, Op: fsnotify.Write}
    		fakeWatcher.InjectEvent(file, wantEvent)
    		select {
    		case gotEvent := <-watcher.Events(file):
    			t.Fatalf("Unexpected Events() after Remove(): got %v", gotEvent)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/ExternalModuleDependencyVariantSpec.java

    /**
     * The specification of a dependency variant. Some dependencies can be fined tuned
     * to select a particular variant. For example, one might want to select the test
     * fixtures of a target component, or a specific classifier.
     *
     * @since 6.8
     */
    public interface ExternalModuleDependencyVariantSpec {
        /**
         * Configures the dependency to select the "platform" variant.
         */
        void platform();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 27 23:38:43 UTC 2021
    - 1.4K bytes
    - Viewed (0)
Back to top