Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1481 - 1490 of 4,619 for _new (0.02 sec)

  1. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

        @Test
        @Timeout(5)
        public void testSessionLifecycle() throws Exception {
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            // Test initial state - session starts with usage count > 0 due to transport.acquire()
            assertTrue(session.isInUse(), "New session should be in use due to transport acquisition");
    
            // Test additional acquire
            session.acquire();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

        }
    
        @Test
        @DisplayName("Should renew credentials when they are renewable and renew() returns new credentials")
        void testRenewCredentials_RenewableAndRenewed() {
            // Set up the wrapper with renewable credentials
            wrapper = new CIFSContextCredentialWrapper(mockDelegate, mockRenewableCredentials);
            when(mockRenewableCredentials.renew()).thenReturn(mockRenewedCredentialsInternal);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        private final ConcurrentLinkedQueue<SmbTransportImpl> connections = new ConcurrentLinkedQueue<>();
        private final ConcurrentLinkedQueue<SmbTransportImpl> nonPooledConnections = new ConcurrentLinkedQueue<>();
        private final ConcurrentLinkedQueue<SmbTransportImpl> toRemove = new ConcurrentLinkedQueue<>();
        final Map<String, Integer> failCounts = new ConcurrentHashMap<>();
    
        // Connection pool configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsCrawlingInfoParamCB.java

                _specification = new HpSpecification();
            }
            return _specification;
        }
    
        protected void assertQueryPurpose() {
        }
    
        protected void assertAggregationPurpose() {
        }
    
        protected void assertSpecifyPurpose() {
        }
    
        public static class HpSpecification {
            protected List<String> columnList = new ArrayList<>();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java

            final Map<String, Object> requestBody = new HashMap<>();
            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("web_config_id", getWebConfigId());
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            final File junitJar = ResourceUtil.getBuildDir(TestCase.class);
            assertTrue(junitJar.exists());
            final URL url = junitJar.toURI().toURL();
            final URLClassLoader loader = new URLClassLoader(new URL[] { url });
            loader.loadClass(TestCase.class.getName());
        }
    
        /**
         * @throws Exception
         */
        public void testIsExist() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return TypeToken.of(generateClass());
      }
    
      // io types
      @Generates
      File generateFile() {
        return new File(generateString());
      }
    
      @Generates
      static ByteArrayInputStream generateByteArrayInputStream() {
        return new ByteArrayInputStream(new byte[0]);
      }
    
      @Generates
      static InputStream generateInputStream() {
        return generateByteArrayInputStream();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsElevateWordToLabelCA.java

            ElevateWordToLabelCQ cq = new ElevateWordToLabelCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                ElevateWordToLabelCA ca = new ElevateWordToLabelCA();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

        private SrvPipePeekResponse response;
    
        @BeforeEach
        void setUp() {
            response = new SrvPipePeekResponse();
        }
    
        @Test
        @DisplayName("Test successful decode with data")
        void testDecodeWithData() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[24]; // 16 bytes header + 8 bytes data
            int bufferIndex = 0;
    
            // Set up test values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        if (mockWebServer != null) throw new IllegalStateException();
    
        mockWebServer = new MockWebServer();
        mockWebServer.setDispatcher(this);
        mockWebServer.start(slackApi.port);
      }
    
      public HttpUrl newAuthorizeUrl(String scopes, String team, Listener listener) {
        if (mockWebServer == null) throw new IllegalStateException();
    
        ByteString state = randomToken();
        synchronized (this) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
Back to top