- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 31 for s2 (0.01 seconds)
-
android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
} public void testUnregister() { StringSubscriber s1 = new StringSubscriber(); StringSubscriber s2 = new StringSubscriber(); registry.register(s1); registry.register(s2); registry.unregister(s1); assertEquals(1, registry.getSubscribersForTesting(String.class).size()); registry.unregister(s2); assertTrue(registry.getSubscribersForTesting(String.class).isEmpty()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java
int hashString_3(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { dummy += Objects.hashCode(S0, S1, S2); } return dummy; } @Benchmark int hashString_4(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { dummy += Objects.hashCode(S0, S1, S2, S3); } return dummy; } @Benchmark int hashString_5(int reps) { int dummy = 0;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.2K bytes - Click Count (0) -
src/cmd/api/testdata/src/pkg/p1/golden.txt
pkg p1, method (*Embedded) OnEmbedded() pkg p1, method (*S2) SMethod //deprecated pkg p1, method (*S2) SMethod(int8, int16, int64) pkg p1, method (*T) JustOnT() pkg p1, method (*T) OnBothTandBPtr() pkg p1, method (B) OnBothTandBVal() pkg p1, method (S) StructValueMethod() pkg p1, method (S) StructValueMethodNamedRecv() pkg p1, method (S2) StructValueMethod() pkg p1, method (S2) StructValueMethodNamedRecv() pkg p1, method (T) OnBothTandBVal()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 24 16:04:17 GMT 2025 - 3.6K bytes - Click Count (0) -
cmd/bootstrap-peer-server.go
Checksum string } // Diff - returns error on first difference found in two configs. func (s1 *ServerSystemConfig) Diff(s2 *ServerSystemConfig) error { if s1.Checksum != s2.Checksum { return fmt.Errorf("Expected MinIO binary checksum: %s, seen: %s", s1.Checksum, s2.Checksum) } ns1 := s1.NEndpoints ns2 := s2.NEndpoints if ns1 != ns2 { return fmt.Errorf("Expected number of endpoints %d, seen %d", ns1, ns2) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Oct 01 22:13:18 GMT 2024 - 8.4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java
int hashString_3(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { dummy += Objects.hashCode(S0, S1, S2); } return dummy; } @Benchmark int hashString_4(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { dummy += Objects.hashCode(S0, S1, S2, S3); } return dummy; } @Benchmark int hashString_5(int reps) { int dummy = 0;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.2K bytes - Click Count (0) -
statement_test.go
}) } s1 := s.clone() s1.AddClause(clause.Where{ Exprs: s.BuildCondition("FINAL1"), }) s2 := s.clone() s2.AddClause(clause.Where{ Exprs: s.BuildCondition("FINAL2"), }) if reflect.DeepEqual(s1.Clauses["WHERE"], s2.Clauses["WHERE"]) { t.Errorf("Where conditions should be different") } }) } } func TestNilCondition(t *testing.T) {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Dec 23 13:19:41 GMT 2023 - 1.9K bytes - Click Count (0) -
internal/s3select/progress.go
return nil, errInvalidCompression(err, compType) } r = zr pr.closer = zr.IOReadCloser() case lz4Type: r = lz4.NewReader(scannedReader) case s2Type: r = s2.NewReader(scannedReader) case snappyType: r = s2.NewReader(scannedReader, s2.ReaderMaxBlockSize(64<<10)) default: return nil, errInvalidCompressionFormat(fmt.Errorf("unknown compression type '%v'", compType)) } pr.processedReader = newCountUpReader(r)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 22 00:33:43 GMT 2024 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
int range = max - min; int s1 = min + (1 * range) / 4; int s2 = min + (2 * range) / 4; int s3 = min + (3 * range) / 4; char[] dst = new char[12]; // Put surrogate pairs at odd indices so they can be split easily dst[0] = 'x'; Character.toChars(min, dst, 1); Character.toChars(s1, dst, 3); Character.toChars(s2, dst, 5); Character.toChars(s3, dst, 7);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java
} public boolean hasRoles(final String[] acceptedRoles) { return stream(user.getRoleNames()) .get(stream -> stream.anyMatch(s1 -> stream(acceptedRoles).get(s3 -> s3.anyMatch(s2 -> s2.equals(s1))))); } public boolean hasGroup(final String group) { return stream(user.getGroupNames()).get(stream -> stream.anyMatch(s -> s.equals(group))); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Tue Aug 19 14:09:36 GMT 2025 - 5.1K bytes - Click Count (0)