Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,181 for _context (0.31 sec)

  1. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/StartStopExtension.kt

          store.put(field, server)
    
          server.start()
        }
      }
    
      override fun beforeEach(context: ExtensionContext) {
        val testInstance = context.testInstance.get()
        val store = context.getStore(Namespace.create(StartStop::class.java))
    
        val instanceFields =
          findAnnotatedFields(
            context.requiredTestClass,
            StartStop::class.java,
          ) { !Modifier.isStatic(it.modifiers) }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Encryption Negotiate Context.
     *
     * This negotiate context is used in SMB 3.x to negotiate
     * encryption capabilities and cipher suites.
     *
     * @author mbechler
     */
    public class EncryptionNegotiateContext implements NegotiateContextRequest, NegotiateContextResponse {
    
        /**
         * Context type
         */
        public static final int NEGO_CTX_ENC_TYPE = 0x2;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

        private final CIFSContext context;
        private final ReentrantReadWriteLock lock = new ReentrantReadWriteLock();
    
        private volatile boolean shutdown = false;
    
        /**
         * Create a new persistent handle manager
         * @param context the CIFS context
         */
        public PersistentHandleManager(CIFSContext context) {
            this.context = context;
            this.handles = new ConcurrentHashMap<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java

        }
    
        /**
         * Create a lease break acknowledgment
         *
         * @param context CIFS context
         * @param leaseKey lease key
         * @param leaseState acknowledged lease state
         */
        public Smb2LeaseBreakAcknowledgment(CIFSContext context, Smb2LeaseKey leaseKey, int leaseState) {
            this(context.getConfig(), leaseKey, leaseState);
        }
    
        /**
         * Gets the lease key for this acknowledgment
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt

        val context: Any? =
          readFieldOrNull(
            sslSocketFactory,
            paramClass,
            "sslParameters",
          )
        val x509TrustManager =
          readFieldOrNull(
            context!!,
            X509TrustManager::class.java,
            "x509TrustManager",
          )
        return x509TrustManager ?: readFieldOrNull(
          context,
          X509TrustManager::class.java,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbTransportTest.java

            // Act
            CIFSContext result = smbTransport.getContext();
    
            // Assert
            assertNotNull(result, "Context should not be null");
            assertEquals(cifsContext, result, "Returned context should be the mocked context");
            verify(smbTransport).getContext(); // Verify that the method was called
        }
    
        @Test
        void testUnwrap() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

        private final AtomicInteger channelCounter;
    
        /**
         * Create channel manager
         *
         * @param context CIFS context
         * @param session SMB session
         */
        public ChannelManager(CIFSContext context, SmbSession session) {
            this.context = context;
            this.session = session;
            this.channels = new ConcurrentHashMap<>();
            this.localInterfaces = new ArrayList<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        @Test
        @DisplayName("Should handle constructor with context")
        void testConstructor() {
            // When
            NameServiceClientImpl client = new NameServiceClientImpl(mockContext);
    
            // Then
            assertNotNull(client, "Should create client instance");
        }
    
        @Test
        @DisplayName("Should handle constructor with null context")
        void testConstructorWithNullContext() {
            // When/Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

         *
         * @param serverAddress the witness server address
         * @param context the CIFS context
         * @throws IOException if connection fails
         */
        public WitnessRpcClient(InetAddress serverAddress, CIFSContext context) throws IOException {
            this.serverAddress = serverAddress;
            this.context = context;
    
            try {
                // Create DCE/RPC handle for witness service
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/CredentialsInternal.java

        /**
         * Create an SSP context for authentication.
         * @param tc the CIFS context
         * @param targetDomain the target domain for authentication
         * @param host the target host
         * @param initialToken initial authentication token, if any
         * @param doSigning whether message signing should be enabled
         * @return a new SSP authentication context
         * @throws SmbException if context creation fails
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top