- Sort Score
- Num 10 results
- Language All
Results 521 - 530 of 2,061 for mirror (0.04 seconds)
-
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
equalsTester = new EqualsTester(); equalObject1 = new ValidTestObject(1, 2); equalObject2 = new ValidTestObject(1, 2); notEqualObject1 = new ValidTestObject(0, 2); } /** Test null reference yields error */ public void testAddNullReference() { assertThrows(NullPointerException.class, () -> equalsTester.addEqualityGroup((Object) null)); } /** Test equalObjects after adding multiple instances at once with a null */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
/** * Sets up the test environment before each test. * Initializes a mock {@link SmbPipeResource} and a mock implementation of {@link SmbPipeHandle}. * @throws CIFSException if an error occurs during setup. */ @BeforeEach public void setUp() throws CIFSException { mockPipeResource = mock(SmbPipeResource.class); mockSmbPipeHandleInternal = mock(SmbPipeHandleInternal.class);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
String server = "testServer"; int access = 123; int errorRetval = 12345; // Simulate an error code // Setup for successful constructor doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class)); // Setup for close to return an error ArgumentCaptor<MsrpcSamrCloseHandle> closeCaptor = ArgumentCaptor.forClass(MsrpcSamrCloseHandle.class);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
cmd/erasure-object-conditional_test.go
if !isErrReadQuorum(err) { t.Errorf("Expected read quorum error when if-match is used with quorum failure, got: %v", err) } }) t.Run("if-match wrong etag with read quorum failure", func(t *testing.T) { // Test Case 3: if-match with wrong ETag // Even if the ETag doesn't match, we should still get read quorum error // because we can't read the object to check the condition. opts := ObjectOptions{Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 4.9K bytes - Click Count (0) -
cmd/xl-storage-format-utils.go
for i := range fivs.Versions { fivs.Versions[i].NumVersions = n } return fivs, nil } func getAllFileInfoVersions(xlMetaBuf []byte, volume, path string, allParts bool) (FileInfoVersions, error) { var versions []FileInfo var err error if buf, _, e := isIndexedMetaV2(xlMetaBuf); e != nil { return FileInfoVersions{}, e } else if buf != nil { versions, err = buf.ListVersions(volume, path, allParts) } else {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 08 15:29:58 GMT 2024 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
assertEquals(msg, ex.getMessage(), "Constructor should preserve the provided message (including null)"); assertNull(ex.getCause(), "No cause expected when only message is provided"); // toString behavior mirrors Throwable: includes message when not null String ts = ex.toString(); assertTrue(ts.contains("SmbUnsupportedOperationException"), "toString should contain class name"); if (msg != null) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
cmd/admin-handlers-config-kv.go
w.Header().Set(madmin.ConfigAppliedHeader, madmin.ConfigAppliedTrue) } type badConfigErr struct { Err error } // Error - return the error message func (bce badConfigErr) Error() string { return bce.Err.Error() } // Unwrap the error to its underlying error. func (bce badConfigErr) Unwrap() error { return bce.Err } type setConfigResult struct { Cfg config.Config
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.8K bytes - Click Count (1) -
internal/bucket/lifecycle/delmarker-expiration_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 1.6K bytes - Click Count (0) -
cmd/common-main_test.go
if err != nil { t.Error(err) } tmpfile.WriteString(testCase.content) tmpfile.Sync() tmpfile.Close() value, err := readFromSecret(tmpfile.Name()) if err != nil && !testCase.expectedErr { t.Error(err) } if err == nil && testCase.expectedErr { t.Error(errors.New("expected error, found success")) } if value != testCase.expectedValue {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.7K bytes - Click Count (2) -
android/guava/src/com/google/common/io/Files.java
* @param to the output stream * @throws IOException if an I/O error occurs */ public static void copy(File from, OutputStream to) throws IOException { asByteSource(from).copyTo(to); } /** * Copies all the bytes from one file to another. * * <p>Copying is not an atomic operation - in the case of an I/O error, power loss, process
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 25 20:24:13 GMT 2025 - 32.8K bytes - Click Count (0)