- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 1,947 for result2 (0.05 seconds)
-
guava/src/com/google/common/collect/AbstractMultimap.java
@Override public Set<K> keySet() { Set<K> result = keySet; return (result == null) ? keySet = createKeySet() : result; } abstract Set<K> createKeySet(); @LazyInit private transient @Nullable Multiset<K> keys; @Override public Multiset<K> keys() { Multiset<K> result = keys; return (result == null) ? keys = createKeys() : result; } abstract Multiset<K> createKeys();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
for (int i = 0; i < ITERATIONS; i++) { long before = map.get(key); long result = map.putIfAbsent(key, newValue); long after = map.get(key); assertEquals(before, result); assertEquals(before == 0 ? newValue : before, after); map.remove(key); before = map.get(key); result = map.putIfAbsent(key, newValue); after = map.get(key); assertEquals(0, before);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 17.5K bytes - Click Count (0) -
tests/submodel_test.go
t.Fatalf("unexpected error: %v", err) } var result = struct { ID int Age int }{} if err := DB.Model(&man).Where("id = ?", man.ID).Find(&result).Error; err != nil { t.Fatalf("unexpected error: %v", err) } if result.ID != man.ID || result.Age != 20 { t.Fatalf("expected ID %d and Age 20, got ID %d and age", result.ID, result.Age) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 947 bytes - Click Count (0) -
src/main/java/org/codelibs/core/misc/Tuple4.java
final int prime = 31; int result = 1; result = prime * result + ((value1 == null) ? 0 : value1.hashCode()); result = prime * result + ((value2 == null) ? 0 : value2.hashCode()); result = prime * result + ((value3 == null) ? 0 : value3.hashCode()); result = prime * result + ((value4 == null) ? 0 : value4.hashCode()); return result; } @OverrideCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5.5K bytes - Click Count (0) -
docs/iam/access-manager-plugin.go
// Allow user `minio` to perform any action. var res Result if accountValue == "minio" { res.Result = true } else { // All other users may not perform any `s3:Put*` operations. res.Result = true if strings.HasPrefix(actionValue, "s3:Put") { res.Result = false } } fmt.Printf("account: %v | action: %v | allowed: %v\n", accountValue, actionValue, res.Result) json.NewEncoder(w).Encode(res) return }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Feb 08 17:15:20 GMT 2024 - 2.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
}; addCallback(future, callback, directExecutor()); future.set(result); assertThat(future.get()).isEqualTo(result); assertThat(successCalls[0]).isEqualTo(1); assertThat(failureCalls[0]).isEqualTo(0); } public void testOnSuccessThrowsError() throws Exception { SomeError error = new SomeError(); String result = "result"; SettableFuture<String> future = SettableFuture.create();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
SmbFilenameFilter filter = (dir, n) -> n == null; boolean result = filter.accept(mockDir, name); if (name == null) { assertTrue(result, "Null name should be accepted by this filter"); } else { assertFalse(result, "Non-null names should be rejected by this filter"); } verifyNoInteractions(mockDir); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
questionNameField.set(response, new Name(mockConfig)); int result = response.readBodyWireFormat(src, srcIndex); assertTrue(result > 0); } @Test void writeRDataWireFormat_shouldReturnZero() { byte[] dst = new byte[100]; int result = response.writeRDataWireFormat(dst, 10); assertEquals(0, result); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
int result = response.readParametersWireFormat(buffer, 0, 2); assertEquals(2, result); } @Test @DisplayName("Should write setup wire format") void testWriteSetupWireFormat() { byte[] buffer = new byte[100]; int result = response.writeSetupWireFormat(buffer, 0); assertEquals(0, result); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
/** * Gets the file entry results from the response * @return the results */ public final FileEntry[] getResults() { return this.results; } /** * Sets the file entry results for the response * @param results * the results to set */ protected final void setResults(final FileEntry[] results) { this.results = results; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.3K bytes - Click Count (0)