Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 2,275 for Mirror (0.07 sec)

  1. 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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. 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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. 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{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. 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 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/delmarker-expiration_test.go

    			err := xml.Unmarshal([]byte(test.xml), &dexp)
    			if test.err == nil {
    				if err != nil {
    					fail = true
    				}
    			} else {
    				if err == nil {
    					fail = true
    				}
    				if test.err.Error() != err.Error() {
    					fail = true
    				}
    			}
    			if fail {
    				t.Fatalf("Expected %v but got %v", test.err, err)
    			}
    		})
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. internal/http/dial_others.go

    //nolint:unused
    func setTCPParametersFn(opts TCPOptions) func(network, address string, c syscall.RawConn) error {
    	return func(network, address string, c syscall.RawConn) error {
    		return nil
    	}
    }
    
    // DialContext is a function to make custom Dial for internode communications
    type DialContext func(ctx context.Context, network, address string) (net.Conn, error)
    
    // NewInternodeDialContext configures a custom dialer for internode communications
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 24 04:08:47 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. cmd/erasure-healing-common.go

    			onlineDisks[index] = disks[index]
    		} else {
    			onlineDisks[index] = nil
    		}
    	}
    
    	return onlineDisks, modTime, ""
    }
    
    // Convert verify or check parts returned error to integer representation
    func convPartErrToInt(err error) int {
    	err = unwrapAll(err)
    	switch err {
    	case nil:
    		return checkPartSuccess
    	case errFileNotFound, errFileVersionNotFound:
    		return checkPartFileNotFound
    	case errFileCorrupt:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/remote-repo/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar

    isWarnEnabled(); public abstract void warn(CharSequence); public abstract void warn(CharSequence, Throwable); public abstract void warn(Throwable); public abstract boolean isErrorEnabled(); public abstract void error(CharSequence); public abstract void error(CharSequence, Throwable); public abstract void error(Throwable); } org/apache/maven/plugin/logging/SystemStreamLog.class package org.apache.maven.plugin.logging; public synchronized class SystemStreamLog implements Log { public void SystemStreamLog(); public...
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. cmd/namespace-lock.go

    // RWLocker - locker interface to introduce GetRLock, RUnlock.
    type RWLocker interface {
    	GetLock(ctx context.Context, timeout *dynamicTimeout) (lkCtx LockContext, timedOutErr error)
    	Unlock(lkCtx LockContext)
    	GetRLock(ctx context.Context, timeout *dynamicTimeout) (lkCtx LockContext, timedOutErr error)
    	RUnlock(lkCtx LockContext)
    }
    
    // LockContext lock context holds the lock backed context and canceler for the context.
    type LockContext struct {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
Back to top