Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 7,073 for clase (0.45 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

            }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarClose.class));
    
            // Close once
            handle.close();
    
            // Act
            // Try to close again
            handle.close();
    
            // Assert
            // Verify sendrecv was called once for open and only once for close
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

        int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return switch (informationLevel) {
            case SMB_INFO_ALLOCATION -> readSmbInfoAllocationWireFormat(buffer, bufferIndex);
            case SMB_QUERY_FS_SIZE_INFO -> readSmbQueryFSSizeInfoWireFormat(buffer, bufferIndex);
            case SMB_FS_FULL_SIZE_INFORMATION -> readFsFullSizeInformationWireFormat(buffer, bufferIndex);
            default -> 0;
            };
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
        void close(final int f, final long lastWriteTime) throws SmbException {
    
            if (LogStream.level >= 3) {
                log.println("close: " + f);
            }
    
            /*
             * Close Request / Response
             */
    
            send(new SmbComClose(f, lastWriteTime), blank_resp());
        }
    
        void close(final long lastWriteTime) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

    import jcifs.context.BaseContext;
    import jcifs.smb.NtlmPasswordAuthentication;
    
    /**
     * Tests for the NtlmHttpURLConnection class.
     * This class uses Mockito to simulate the behavior of HttpURLConnection and other dependencies.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class NtlmHttpURLConnectionTest {
    
        @Mock
        private HttpURLConnection mockConnection;
    
        private URL mockUrl;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

                return emptyMap();
            } else if (map instanceof AbstractImmutableMap) {
                return map;
            } else {
                switch (map.size()) {
                    case 0:
                        return emptyMap();
                    case 1:
                        Map.Entry<K, V> entry = map.entrySet().iterator().next();
                        return singletonMap(entry.getKey(), entry.getValue());
                    default:
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 07 11:47:42 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

    import jcifs.smb.SmbTransportInternal;
    import jcifs.util.Crypto;
    import jcifs.util.Hexdump;
    
    /**
     *
     *
     * <p>This class is intended for internal use.</p>
     */
    public class SMB1SigningDigest implements SMBSigningDigest {
    
        private static final Logger log = LoggerFactory.getLogger(SMB1SigningDigest.class);
    
        private final MessageDigest digest;
        private byte[] macSigningKey;
        private boolean bypass = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

     * it easy to get sample values to use in such tests.
     *
     * This class is pretty fast and loose with default values: it attempts to provide values that are
     * well-formed, but doesn't guarantee values are internally consistent. Callers must take care to
     * configure the factory when sample values impact the correctness of the test.
     */
    class TestValueFactory : Closeable {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/MultiChannelManager.java

     *
     * Manages multiple network connections for improved performance and redundancy
     * as specified in the SMB 3.x multi-channel feature.
     */
    public class MultiChannelManager {
    
        private static final Logger log = LoggerFactory.getLogger(MultiChannelManager.class);
    
        // Multi-channel configuration
        private final Configuration config;
        private final int maxChannels;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

    import static org.codelibs.curl.io.ContentOutputStream.SUFFIX;
    import static org.junit.Assert.assertEquals;
    
    public class IOIntegrationTest {
    
        private static final Logger logger = Logger.getLogger(IOIntegrationTest.class.getName());
    
        class MockCurlRequest extends CurlRequest {
    
            MockCurlRequest(Curl.Method method, String url) {
                super(method, url);
            }
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

      }
    
      @AfterEach
      @Throws(Exception::class)
      fun tearDown() {
        client.listener.assertExhausted()
        server.listener.assertExhausted()
        server.source.close()
        client.source.close()
        taskFaker.runTasks()
        server.webSocket!!.tearDown()
        client.webSocket!!.tearDown()
        taskFaker.close()
      }
    
      @Test
      fun close() {
        client.webSocket!!.close(1000, "Hello!")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top