- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 598 for padded (0.03 sec)
-
cmd/erasure_test.go
err = erasure.DecodeDataAndParityBlocks(t.Context(), encoded) } else { err = erasure.DecodeDataBlocks(encoded) } if err == nil && test.shouldFail { t.Errorf("Test %d: test should fail but it passed", i) } if err != nil && !test.shouldFail { t.Errorf("Test %d: test should pass but it failed: %v", i, err) } decoded := encoded if !test.shouldFail { if test.reconstructParity {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 4.8K bytes - Viewed (0) -
tests/lru_test.go
} } func TestLRU_Add_NewKey_AddsEntry(t *testing.T) { lru := lru.NewLRU[string, int](10, nil, time.Hour) lru.Add("key1", 1) if value, ok := lru.Get("key1"); !ok || value != 1 { t.Errorf("Expected key1 to be added with value 1, got %v", value) } } func TestLRU_Add_ExceedsSize_RemovesOldest(t *testing.T) { lru := lru.NewLRU[string, int](2, nil, time.Hour) lru.Add("key1", 1) lru.Add("key2", 2) lru.Add("key3", 3)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
* and https://github.com/jspecify/jspecify/issues/490. * * (That would also have ensured that its cause was always an Error, rather than possibly another * kind of Throwable that was later passed to initCause. Then we could have declared the override * `public final Error getCause()`.) */ /** * Creates a new instance with {@code null} as its detail message and no cause. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
buffer[9] = 0x00; int result = response.readParametersWireFormat(buffer, 0, 10); // Should read 10 bytes assertEquals(10, result); // Check the values were parsed correctly assertEquals(1, response.getSid()); assertEquals(5, response.getNumEntries()); assertTrue(response.isEndOfSearch()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
@DisplayName("connectLogon accepts null context but still invokes") void connectLogon_withNull_isInvoked() throws Exception { // Act tree.connectLogon(null); // Assert - even null should be passed through to implementation verify(tree).connectLogon(null); } @Test @DisplayName("connectLogon propagates SmbException from implementation") void connectLogon_throws_propagates() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
* @throws ServletException */ @Test void testInit() throws ServletException { assertDoesNotThrow(() -> ntlmServlet.init(servletConfig)); // Further assertions can be added here to check the internal state of the servlet if fields were protected/public } /** * Test the init method when CIFSException occurs.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
resp.setContentLength(0); resp.flushBuffer(); return null; } } return ntlm; } // Added by cgross to work with weblogic 6.1. /** * Sets the filter configuration for WebLogic 6.1 compatibility. * * @param f the filter configuration to set */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java
doc.put("title", "タイトル"); doc.put("content", "コンテンツ"); languageHelper.updateDocument(doc); assertEquals("ja", doc.get("lang")); // No fields should be added since langFields is empty assertNull(doc.get("title_ja")); assertNull(doc.get("content_ja")); } public void test_createScript_noLangFields() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
private final ConcurrentHashMap<String, Integer> failureCounts; /** * Directory change types */ public enum DirectoryChangeType { /** * File was added to the directory */ FILE_ADDED, /** * File was removed from the directory */ FILE_REMOVED, /** * File was modified in the directory
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
// in the short hash. We saw that a mask of 0x7f would keep the 7-bit value 0x6f from a full // hashcode of 0x89abcdef. The imaginary `hash` value would then be the remaining top 25 bits, // 0x89abcd80. To this is added (or'd) the `next` value, which is an index within `entries` // (and therefore within `keys` and `values`) of another entry that has the same short hash
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 35.7K bytes - Viewed (0)