- Sort Score
- Num 10 results
- Language All
Results 971 - 980 of 2,761 for errPos (0.16 seconds)
-
cmd/httprange_test.go
} for i, urs := range unparsableRangeSpecs { rs, err := parseRequestRangeSpec(urs) if err == nil { t.Errorf("Case %d: Did not get an expected error - got %v", i, rs) } if isErrInvalidRange(err) { t.Errorf("Case %d: Got invalid range error instead of a parse error", i) } if rs != nil { t.Errorf("Case %d: Got non-nil rs though err != nil: %v", i, rs) } } invalidRangeSpecs := []string{Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 3.7K bytes - Click Count (0) -
cmd/erasure-multipart-conditional_test.go
return oi.ETag != "wrong-etag-12345" }, } _, err := obj.NewMultipartUpload(ctx, bucket, object, opts) if !isErrReadQuorum(err) { t.Logf("Got error (as expected): %v", err) t.Logf("But expected read quorum error, not object-not-found error") } }) t.Run("if-match with correct ETag and read quorum failure", func(t *testing.T) { // Test Case 3: if-match with CORRECT ETag but read quorum failure
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
rpc.retval = errorCode; // Simulate RPC error return null; }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class)); // Act & Assert SmbException thrown = assertThrows(SmbException.class, () -> { new LsaPolicyHandle(mockDcerpcHandle, server, access); });Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
* @return the current file pointer position * @throws SmbException if an I/O error occurs */ public long getFilePointer() throws SmbException { return fp; } /** * Sets the file pointer to the specified position. * * @param pos the new file pointer position * @throws SmbException if an I/O error occurs */ public void seek(final long pos) throws SmbException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NtlmSsp.java
* @param resp The response. * @param challenge The domain controller challenge. * @throws IOException If an IO error occurs. * @return the authenticated NtlmPasswordAuthentication object * @throws IOException If an IO error occurs. * @throws ServletException If an error occurs. */ public static NtlmPasswordAuthentication authenticate(final HttpServletRequest req, final HttpServletResponse resp,Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (0) -
cmd/background-heal-ops.go
workers: workers, } } // healDiskFormat - heals format.json, return value indicates if a // failure error occurred. func healDiskFormat(ctx context.Context, objAPI ObjectLayer, opts madmin.HealOpts) (madmin.HealResultItem, error) { res, err := objAPI.HealFormat(ctx, opts.DryRun) // return any error, ignore error returned when disks have // already healed. if err != nil && err != errNoHealRequired {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
response.setAsyncHandled(true); assertTrue(response.isAsyncHandled()); } } @Nested @DisplayName("Error Code Tests") class ErrorCodeTests { @Test @DisplayName("Should return status as error code") void testGetErrorCode() { int status = NtStatus.NT_STATUS_ACCESS_DENIED; response.setStatusForTest(status);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.3K bytes - Click Count (0) -
src/archive/tar/strconv.go
b := make([]byte, 0, len(s)) for _, c := range s { if c < 0x80 && c != 0x00 { b = append(b, byte(c)) } } return string(b) } type parser struct { err error // Last error seen } type formatter struct { err error // Last error seen } // parseString parses bytes as a NUL-terminated C-style string. // If a NUL byte is not found then the whole slice is returned as a string.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 9.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
} @Test @DisplayName("Each error code mapping contains exactly two ints") void testEachPairLength() { for (int i = 0; i < DosError.DOS_ERROR_CODES.length; i++) { int[] pair = DosError.DOS_ERROR_CODES[i]; assertEquals(2, pair.length, String.format("Error mapping at index %d should contain two integers", i)); } } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
message = "moved to val", replaceWith = ReplaceWith(expression = "type"), level = DeprecationLevel.ERROR, ) fun type(): MediaType = type @JvmName("-deprecated_boundary") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "boundary"), level = DeprecationLevel.ERROR, ) fun boundary(): String = boundary @JvmName("-deprecated_size") @Deprecated(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 10.9K bytes - Click Count (0)