- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 4,771 for Same (0.04 seconds)
-
docs/features/events.md
private long callStartNanos; private void printEvent(String name) { long nowNanos = System.nanoTime(); if (name.equals("callStart")) { callStartNanos = nowNanos; } long elapsedNanos = nowNanos - callStartNanos; System.out.printf("%.3f %s%n", elapsedNanos / 1000000000d, name); } @Override public void callStart(Call call) { printEvent("callStart"); }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
// Create new storage with same salt SecureCredentialStorage storage2 = new SecureCredentialStorage(masterPassword.clone(), salt); try { // Should be able to decrypt with same salt and password char[] decrypted = storage2.decryptCredentials(encrypted); assertArrayEquals(plaintext, decrypted, "Should decrypt correctly with same salt and password");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12.7K bytes - Click Count (0) -
build-logic/build.gradle.kts
id("gradlebuild.cache-miss-monitor") } description = "Provides plugins that are used by Gradle subprojects" tasks.register("check") { dependsOn(subprojects.map { "${it.name}:check" }) } tasks.register("test") { dependsOn(subprojects.map { "${it.name}:test" }) } val clean by tasks.registering { val buildLogicPropertiesFile = layout.projectDirectory.file("gradle.properties")
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Mar 14 02:17:00 GMT 2025 - 1.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class SetEqualsTester<E> extends AbstractSetTester<E> { public void testEquals_otherSetWithSameElements() { assertTrue( "A Set should equal any other Set containing the same elements.", getSet().equals(MinimalSet.from(getSampleElements()))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherSetWithDifferentElements() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class SetEqualsTester<E> extends AbstractSetTester<E> { public void testEquals_otherSetWithSameElements() { assertTrue( "A Set should equal any other Set containing the same elements.", getSet().equals(MinimalSet.from(getSampleElements()))); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherSetWithDifferentElements() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.6K bytes - Click Count (0) -
docs/distributed/DESIGN.md
return int(sip.Sum64() % uint64(cardinality)) } ``` Input for the key is the object name specified in `PutObject()`, returns a unique index. This index is one of the erasure sets where the object will reside. This function is a consistent hash for a given object name i.e for a given object name the index returned is always the same.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Feb 26 09:25:50 GMT 2025 - 8K bytes - Click Count (2) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java
* {@link #equals(Object)}, they have the same hashcode. * * @return a hash code value for this request */ @Override int hashCode(); /** * Returns {@code true} if the specified object is equal to this request. * Two requests are considered equal if they have the same type and all * significant fields are equal. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 4K bytes - Click Count (0) -
cmd/service.go
var GlobalContext, cancelGlobalContext = context.WithCancel(context.Background()) // restartProcess starts a new process passing it the active fd's. It // doesn't fork, but starts a new process using the same environment and // arguments as when it was originally started. This allows for a newly // deployed binary to be started. It returns the pid of the newly started // process when successful. func restartProcess() error {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Feb 28 07:02:14 GMT 2024 - 3.8K bytes - Click Count (0) -
internal/ioutil/ioutil_test.go
t.Errorf("Error creating tmp file: %v", err) } tmpFile := f.Name() f.Close() defer os.Remove(f.Name()) fi1, err := os.Stat(tmpFile) if err != nil { t.Fatalf("Error Stat(): %v", err) } fi2, err := os.Stat(tmpFile) if err != nil { t.Fatalf("Error Stat(): %v", err) } if !SameFile(fi1, fi2) { t.Fatal("Expected the files to be same") }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 5.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt
for (prefixFlag in prefixFlags) { FLAGS[prefixFlag or FLAG_PADDED] = FLAGS[prefixFlag] + "|PADDED" } FLAGS[FLAG_END_HEADERS] = "END_HEADERS" // Same as END_PUSH_PROMISE. FLAGS[FLAG_PRIORITY] = "PRIORITY" // Same as FLAG_COMPRESSED. FLAGS[FLAG_END_HEADERS or FLAG_PRIORITY] = "END_HEADERS|PRIORITY" // Only valid on HEADERS.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 5.7K bytes - Click Count (0)