Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 388 for Docker (0.07 sec)

  1. cmd/lock-rest-client.go

    	connection *grid.Connection
    }
    
    // IsOnline - returns whether REST client failed to connect or not.
    func (c *lockRESTClient) IsOnline() bool {
    	return c.connection.State() == grid.StateConnected
    }
    
    // Not a local locker
    func (c *lockRESTClient) IsLocal() bool {
    	return false
    }
    
    // Close - marks the client as closed.
    func (c *lockRESTClient) Close() error {
    	return nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

          serverSocketChannel.configureBlocking(true);
          serverSocketChannel.socket().bind(address);
        }
    
        @Override public int getLocalPort() {
          return 1; // A white lie. There is no local port.
        }
    
        @Override public SocketAddress getLocalSocketAddress() {
          return endpoint;
        }
    
        @Override public Socket accept() throws IOException {
          try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Feb 12 16:33:52 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

      ): RealConnection {
        val result =
          RealConnection.newTestConnection(
            taskRunner = taskRunner,
            connectionPool = pool,
            route = route,
            socket = Socket(),
            idleAtNs = idleAtNanos,
          )
        result.withLock { pool.put(result) }
        return result
      }
    
      fun newConnectionPool(
        taskRunner: TaskRunner = this.taskRunner,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

            }
    
            @Test
            @DisplayName("Should decode output parameters correctly")
            void testDecodeOut() throws NdrException {
                // Given: Close handle message with mocked return value
                samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle);
                when(mockNdrBuffer.dec_ndr_long()).thenReturn(0);
    
                // When: Decoding output
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

      fun upgradeToSocket(): Socket {
        call.timeoutEarlyExit()
        (codec.carrier as RealConnection).useAsSocket()
    
        eventListener.requestBodyStart(call)
    
        return object : Socket {
          override fun cancel() {
            ******@****.***()
          }
    
          override val sink = RequestBodySink(codec.socket.sink, -1L)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        private SmbTree tree;
    
        @BeforeEach
        void resetMocks() {
            Mockito.reset(session, transport, tree);
        }
    
        // Happy path: isInUse returns the mocked state
        @ParameterizedTest
        @DisplayName("isInUse reflects current mocked state")
        @ValueSource(booleans = { true, false })
        void isInUse_variants(boolean inUse) {
            when(session.isInUse()).thenReturn(inUse);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java

        void testEncode() throws NdrException {
            // Test the encode method
            long testValue = 987654321098765L;
            NdrHyper ndrHyper = new NdrHyper(testValue);
    
            // Call the encode method with the mocked NdrBuffer
            ndrHyper.encode(mockNdrBuffer);
    
            // Verify that enc_ndr_hyper was called exactly once with the correct value
            verify(mockNdrBuffer, times(1)).enc_ndr_hyper(testValue);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

        }
    
        @Mock
        SessionSetupHandler mocked;
    
        @Test
        @DisplayName("Interactions: Mockito mock has no interactions by default")
        void testMockitoNoInteractions() {
            // Intent: ensure we can mock the interface and verify no unexpected calls
            // Act & Assert
            assertNotNull(mocked);
            verifyNoInteractions(mocked);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

        /** Maximum size for RDMA read/write operations */
        protected int maxReadWriteSize;
    
        /**
         * Create new RDMA connection
         *
         * @param remote remote socket address
         * @param local local socket address, may be null
         */
        public RdmaConnection(InetSocketAddress remote, InetSocketAddress local) {
            this.remoteAddress = remote;
            this.localAddress = local;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. cmd/background-newdisks-heal-ops.go

    			return nil
    		}
    		if !errors.Is(err, errUnformattedDisk) {
    			return err
    		}
    	}
    
    	// Prevent parallel erasure set healing
    	locker := z.NewNSLock(minioMetaBucket, fmt.Sprintf("new-drive-healing/%d/%d", poolIdx, setIdx))
    	lkctx, err := locker.GetLock(ctx, newDiskHealingTimeout)
    	if err != nil {
    		return fmt.Errorf("Healing of drive '%v' on %s pool, belonging to %s erasure set already in progress: %w",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
Back to top