- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for Distinct (0.07 sec)
-
src/test/java/org/codelibs/fess/ldap/LdapUserTest.java
} public void test_distinct_nullInput() { // Test distinct with null input String[] result = invokeDistinct(null); assertNotNull(result); assertEquals(0, result.length); assertSame(StringUtil.EMPTY_STRINGS, result); } public void test_distinct_emptyArray() { // Test distinct with empty array String[] input = new String[0];Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.6K bytes - Viewed (0) -
statement.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 20.8K bytes - Viewed (0) -
generics.go
func (c chainG[T]) MapColumns(m map[string]string) ChainInterface[T] { return c.with(func(db *DB) *DB { return db.MapColumns(m) }) } func (c chainG[T]) Distinct(args ...interface{}) ChainInterface[T] { return c.with(func(db *DB) *DB { return db.Distinct(args...) }) } func (c chainG[T]) Group(name string) ChainInterface[T] { return c.with(func(db *DB) *DB { return db.Group(name) }) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 15.5K bytes - Viewed (0) -
finisher_api.go
if tx.Statement.Parse(tx.Statement.Model) == nil { if f := tx.Statement.Schema.LookUpField(dbName); f != nil { dbName = f.DBName } } if tx.Statement.Distinct { expr = clause.Expr{SQL: "COUNT(DISTINCT(?))", Vars: []interface{}{clause.Column{Name: dbName}}} } else if dbName != "*" { expr = clause.Expr{SQL: "COUNT(?)", Vars: []interface{}{clause.Column{Name: dbName}}} } } }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 22.9K bytes - Viewed (0) -
tests/generics_test.go
t.Fatalf("CreateInBatches failed: %v", err) } results, err := gorm.G[User](DB).Where("name like ?", "GenericsDistinct%").Distinct("name").Find(ctx) if err != nil { t.Fatalf("Distinct Find failed: %v", err) } if len(results) != 2 { t.Errorf("expected 2 distinct names, got %d", len(results)) } var names []string for _, u := range results { names = append(names, u.Name) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 28K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java
roleList.addAll(getDefaultRoleList()); processMemberOf(user, groupList, roleList, "https://graph.microsoft.com/v1.0/me/memberOf"); user.setGroups(groupList.stream().distinct().toArray(n -> new String[n])); user.setRoles(roleList.stream().distinct().toArray(n -> new String[n])); } /** * Processes member-of information from Microsoft Graph API. * @param user The Azure AD user.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 28 09:13:08 UTC 2025 - 37.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 28 09:13:08 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java
facetQueryView.init(); // Size should remain the same assertEquals(firstSize, facetQueryView.getQueryMap().size()); // But queries would be added again to FacetInfo (distinct handles duplicates) assertTrue(testFacetInfo.getAddedQueries().size() >= firstQueriesCount); } // Test complex scenarios public void test_init_withMixedQueries() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
*/ public double expectedFpp() { return Math.pow((double) bits.bitCount() / bitSize(), numHashFunctions); } /** * Returns an estimate for the total number of distinct elements that have been added to this * Bloom filter. This approximation is reasonably accurate if it does not exceed the value of * {@code expectedInsertions} that was used when constructing the filter. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 26.9K bytes - Viewed (0) -
cmd/iam-store.go
type ParentUserInfo struct { subClaimValue string roleArns set.StringSet } // GetAllParentUsers - returns all distinct "parent-users" associated with STS // or service credentials, mapped to all distinct roleARNs associated with the // parent user. The dummy role ARN is associated with parent users from // policy-claim based OpenID providers. The root credential as a parentRegistered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 86.7K bytes - Viewed (0)