- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 206 for Distinct (0.08 seconds)
-
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) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Dec 30 08:11:14 GMT 2025 - 34.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EnumMultiset.java
stream.defaultWriteObject(); stream.writeObject(type); Serialization.writeMultiset(this, stream); } /** * @serialData the {@code Class<E>} for the enum type, the number of distinct elements, the first * element, its count, the second element, its count, and so on */ @GwtIncompatible // java.io.ObjectInputStream
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
return node.elemCount; } @Override long treeAggregate(@Nullable AvlNode<?> root) { return (root == null) ? 0 : root.totalCount; } }, DISTINCT { @Override int nodeAggregate(AvlNode<?> node) { return 1; } @Override long treeAggregate(@Nullable AvlNode<?> root) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
.filter(StringUtil::isNotBlank) .distinct() .toArray(n -> new String[n])); } default String getSearchDefaultDisplayPermission() { return split(getRoleSearchDefaultDisplayPermissions(), ",") .get(stream -> stream.filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n"))); } String getQueryGeoFields();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 92.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/search/SearchAction.java
final List<String> pagingQueryList = new ArrayList<>(); if (form.ex_q != null) { stream(form.ex_q).of(stream -> stream.filter(StringUtil::isNotBlank) .distinct() .forEach(q -> pagingQueryList.add("ex_q=" + LaFunctions.u(q)))); } if (StringUtil.isNotBlank(form.sort)) { pagingQueryList.add("sort=" + LaFunctions.u(form.sort));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 14K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
assertThat(new AtomicDoubleArray(0).toString()).isEqualTo("[]"); assertThat(new AtomicDoubleArray(new double[0]).toString()).isEqualTo("[]"); } /** compareAndSet treats +0.0 and -0.0 as distinct values */ public void testDistinctZeros() { AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); for (int i : new int[] {0, SIZE - 1}) { assertFalse(aa.compareAndSet(i, -0.0, 7.0));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
void testSigningFlagsNoOverlap() { assertNotEquals(Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED, Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED, "Signing flags must be distinct"); // Verify they can be combined with bitwise OR int combined = Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED | Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
misc/ios/go_ios_exec.go
// works, but only when running one binary at a time. // Use a file lock to make sure only one wrapper is running at a time. // // The lock file is never deleted, to avoid concurrent locks on distinct // files with the same path. lockName := filepath.Join(os.TempDir(), "go_ios_exec-"+deviceID+".lock") lock, err = os.OpenFile(lockName, os.O_CREATE|os.O_RDONLY, 0666) if err != nil { return 1, err }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Sep 16 00:34:45 GMT 2025 - 8.7K bytes - Click Count (0) -
internal/s3select/sql/parser_test.go
t.Fatalf("%d: %v", i, err) } // repr.Println(s, repr.Indent(" "), repr.OmitEmpty(true)) } } func TestSqlLexerArithOps(t *testing.T) { s := bytes.NewBuffer([]byte("year from select month hour distinct")) lex, err := sqlLexer.Lex(s) if err != nil { t.Fatal(err) } tokens, err := lexer.ConsumeAll(lex) if err != nil { t.Fatal(err) } if len(tokens) != 7 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
assertThat(new AtomicDoubleArray(0).toString()).isEqualTo("[]"); assertThat(new AtomicDoubleArray(new double[0]).toString()).isEqualTo("[]"); } /** compareAndSet treats +0.0 and -0.0 as distinct values */ public void testDistinctZeros() { AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); for (int i : new int[] {0, SIZE - 1}) { assertFalse(aa.compareAndSet(i, -0.0, 7.0));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 14.8K bytes - Click Count (0)