- Sort Score
- Result 10 results
- Languages All
Results 691 - 700 of 1,225 for equalTo (0.06 sec)
-
src/test/java/jcifs/util/SecureCredentialStorageTest.java
byte[] encrypted2 = storage.encryptCredentials(plaintext.clone()); // Should produce different ciphertexts due to random IV assertFalse(Arrays.equals(encrypted1, encrypted2), "Different encryptions should produce different ciphertexts"); // But both should decrypt to same plaintext char[] decrypted1 = storage.decryptCredentials(encrypted1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/archive/tar/tar_test.go
continue } gotAligned := alignSparseEntries(append([]sparseEntry{}, v.in...), v.size) if !slices.Equal(gotAligned, v.wantAligned) { t.Errorf("test %d, alignSparseEntries():\ngot %v\nwant %v", i, gotAligned, v.wantAligned) } gotInverted := invertSparseEntries(append([]sparseEntry{}, v.in...), v.size) if !slices.Equal(gotInverted, v.wantInverted) {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 23.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
dependency.getScope(), dependency.getType(), dependency.getClassifier(), new TestArtifactHandler(dependency.getType())); if (Artifact.SCOPE_SYSTEM.equals(dependency.getScope())) { artifact.setFile(new File(dependency.getSystemPath())); artifact.setResolved(true); } return artifact; } @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 10 08:42:00 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java
} /** * Gets the relation type indicating how the record count should be interpreted. * * @return The record count relation (e.g., "eq" for exact, "gte" for greater than or equal) */ public String getAllRecordCountRelation() { return allRecordCountRelation; } /** * Gets the time taken to execute the search query. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.8K bytes - Viewed (0) -
cmd/benchmark-utils_test.go
bucket := getRandomBucketName() // create bucket. err = obj.MakeBucket(b.Context(), bucket, MakeBucketOptions{}) if err != nil { b.Fatal(err) } // get text data generated for number of bytes equal to object size. textData := generateBytesData(objSize) // generate md5sum for the generated data. // md5sum of the data to written is required as input for PutObject. md5hex := getMD5Hash(textData) sha256hex := ""
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryManager.java
public OptionalEntity<DictionaryFile<? extends DictionaryItem>> getDictionaryFile(final String id) { for (final DictionaryFile<? extends DictionaryItem> dictFile : getDictionaryFiles()) { if (dictFile.getId().equals(id)) { return OptionalEntity.of(dictFile); } } return OptionalEntity.empty(); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
when(handle.hasCapability(anyInt())).thenReturn(true); // Act boolean result = handle.hasCapability(cap); // Assert: verify return and the captured argument equals input assertTrue(result); ArgumentCaptor<Integer> captor = ArgumentCaptor.forClass(Integer.class); verify(handle, times(1)).hasCapability(captor.capture()); assertEquals(cap, captor.getValue());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
public SmbRandomAccessFile(final SmbFile file, final String mode) throws SmbException, MalformedURLException, UnknownHostException { this.file = file; if (mode.equals("r")) { this.openFlags = SmbFile.O_CREAT | SmbFile.O_RDONLY; } else if (mode.equals("rw")) { this.openFlags = SmbFile.O_CREAT | SmbFile.O_RDWR | SmbFile.O_APPEND; write_andx_resp = new SmbComWriteAndXResponse();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java
@MapFeature.Require(absent = SUPPORTS_REMOVE) public void testClearUnsupported() { assertThrows(UnsupportedOperationException.class, () -> multimap().clear()); } // Empty multimaps *do* have defined equals semantics. @SuppressWarnings("UndefinedEquals") private void assertCleared() { assertEquals(0, multimap().size()); assertEmpty(multimap()); assertEquals(multimap(), getSubjectGenerator().create());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 4.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/DelegatingLocalArtifactRepository.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.4K bytes - Viewed (0)