- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 1,513 for invalid (0.04 sec)
-
internal/hash/checksum.go
if typ.Is(ChecksumIncludesMultipart) { wantLen := int(parts) * length if len(b) < wantLen { return nil } } } if !c.Valid() { return nil } return c } // Valid returns whether checksum is valid. func (c Checksum) Valid() bool { if c.Type == ChecksumInvalid { return false } if len(c.Encoded) == 0 || c.Type.Trailing() {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 22 14:15:21 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/SidResolverTest.java
} @Test void testResolveSidsWithOffsetAndLength_InvalidOffset() throws CIFSException { doThrow(new CIFSException("Invalid offset")).when(sidResolver) .resolveSids(any(CIFSContext.class), anyString(), any(SID[].class), eq(-1), anyInt());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/StemmerOverridePager.java
*/ public void setExistNextPage(final boolean existNextPage) { this.existNextPage = existNextPage; } /** * Gets the number of records to display per page. * If not set or invalid, returns the default page size. * * @return The page size */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosErrorTest.java
// Assert assertEquals(0x00000000, actual); } @ParameterizedTest @ValueSource(ints = { -1, 1, 0x00FFFF00, 0x0BADF00D }) @DisplayName("Invalid or unknown DOS codes return not-found sentinel (-1)") void unknownCodesReturnMinusOne(int dosCode) { // Act int actual = findNtStatusOrMinusOne(dosCode); // AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
src/bytes/reader.go
switch whence { case io.SeekStart: abs = offset case io.SeekCurrent: abs = r.i + offset case io.SeekEnd: abs = int64(len(r.s)) + offset default: return 0, errors.New("bytes.Reader.Seek: invalid whence") } if abs < 0 { return 0, errors.New("bytes.Reader.Seek: negative position") } r.i = abs return abs, nil } // WriteTo implements the [io.WriterTo] interface.Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Jul 16 18:17:37 UTC 2024 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/CrawlingInfoPager.java
this.existNextPage = existNextPage; } /** * Gets the number of records to display per page. * If the page size is not set or is invalid (≤0), returns the default page size. * * @return the page size */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/FailureUrlPager.java
*/ public void setExistNextPage(final boolean existNextPage) { this.existNextPage = existNextPage; } /** * Gets the number of records per page. * If not set or invalid, returns the default page size. * * @return the page size */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7K bytes - Viewed (0) -
src/bufio/example_test.go
scanner.Split(split) // Validate the input for scanner.Scan() { fmt.Printf("%s\n", scanner.Text()) } if err := scanner.Err(); err != nil { fmt.Printf("Invalid input: %s", err) } // Output: // 1234 // 5678 // Invalid input: strconv.ParseInt: parsing "1234567901234567890": value out of range } // Use a Scanner with a custom split function to parse a comma-separated
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/xl-storage_test.go
t.Fatalf("expected: errFileAccessDenied error, got: %s", err) } } // TestXLStorage case with invalid volume name. // A valid volume name should be at least of size 3. err = xlStorage.AppendFile(t.Context(), "bn", "yes", []byte("hello, world")) if err != errVolumeNotFound { t.Fatalf("expected: \"Invalid argument error\", got: \"%s\"", err) } } // TestXLStorage xlStorage.RenameFile()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 66K bytes - Viewed (0) -
internal/config/compress/compress_test.go
testCases := []struct { str string expectedPatterns []string success bool }{ // invalid input {",,,", []string{}, false}, {"", []string{}, false}, {",", []string{}, false}, {"/", []string{}, false}, {"text/*,/", []string{}, false}, // valid input {".txt,.log", []string{".txt", ".log"}, true}, {"text/*,application/json", []string{"text/*", "application/json"}, true}, }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 1.8K bytes - Viewed (0)