Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 4,619 for _new (0.04 sec)

  1. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        protected SmbResourceLocatorImpl clone() {
            final SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(this.ctx, this.url);
            loc.canon = this.canon;
            loc.share = this.share;
            loc.dfsReferral = this.dfsReferral;
            loc.unc = this.unc;
            if (this.addresses != null) {
                loc.addresses = new UniAddress[this.addresses.length];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/BufferCacheImplTest.java

        void cacheCapacityAndRetrievalOrder() {
            BufferCacheImpl impl = new BufferCacheImpl(2, 3);
            byte[] a = new byte[1];
            byte[] c = new byte[2];
            byte[] d = new byte[4];
    
            impl.releaseBuffer(a); // goes to slot 0
            impl.releaseBuffer(c); // goes to slot 1
            impl.releaseBuffer(d); // dropped (cache full)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            ThumbnailGenerationException exception = new ThumbnailGenerationException("Test", new Exception());
    
            // The message and cause constructor uses normal super call, so stack trace should be available
            assertTrue(exception.getStackTrace().length > 0);
        }
    
        public void test_multipleNestedExceptions() {
            // Test with multiple nested exceptions
            Exception innerCause = new IllegalArgumentException("Invalid image format");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                CreateContextResponse[] contexts = new CreateContextResponse[3];
                byte[] buffer = new byte[300];
    
                contexts[0] = new TestCreateContextResponse("CONTEXT1".getBytes(StandardCharsets.UTF_8));
                contexts[1] = new TestCreateContextResponse("CONTEXT2".getBytes(StandardCharsets.UTF_8));
                contexts[2] = new TestCreateContextResponse("CONTEXT3".getBytes(StandardCharsets.UTF_8));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

         */
        protected void buildLabelTypeItems(final List<LabelType> labelTypeList) {
            final List<LabelTypeItem> itemList = new ArrayList<>();
            for (final LabelType labelType : labelTypeList) {
                final LabelTypeItem item = new LabelTypeItem();
                item.setLabel(labelType.getName());
                item.setValue(labelType.getValue());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  6. docs/features/https.md

        ```java
          private final OkHttpClient client = new OkHttpClient.Builder()
              .certificatePinner(
                  new CertificatePinner.Builder()
                      .add("publicobject.com", "sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=")
                      .build())
              .build();
    
          public void run() throws Exception {
            Request request = new Request.Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        // ? extends T
        assertAssignable(new TypeToken<List<N11>>() {}, new TypeToken<List<? extends N1>>() {});
        assertNotAssignable(new TypeToken<List<N1>>() {}, new TypeToken<List<? extends N11>>() {});
        assertNotAssignable(new TypeToken<List<Number>>() {}, new TypeToken<List<? extends N11>>() {});
    
        // ? extends Number
        assertAssignable(new TypeToken<List<N1>>() {}, new TypeToken<List<? extends Number>>() {});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  8. src/test/java/jcifs/BufferCacheTest.java

            assertDoesNotThrow(() -> {
                cache.getBuffer();
                cache.releaseBuffer(new byte[1024]);
            }, "All BufferCache interface methods should be callable");
        }
    
        @Test
        @DisplayName("getBuffer should return non-null byte array")
        void testGetBufferContract() {
            // Given
            byte[] expectedBuffer = new byte[1024];
            when(mockBufferCache.getBuffer()).thenReturn(expectedBuffer);
    
    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/test/java/jcifs/smb1/smb1/InfoTest.java

        }
    
        @Test
        void testTrans2QueryPathUnsupportedLevel() throws Exception {
            Trans2QueryPathInformationResponse trans = new Trans2QueryPathInformationResponse(9999) {
            };
            assertEquals(0, trans.readDataWireFormat(new byte[10], 0, 10));
            java.lang.reflect.Field infoField = Trans2QueryPathInformationResponse.class.getDeclaredField("info");
            infoField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            super.setUp();
            labelTypeHelper = new LabelTypeHelper();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
            ComponentUtil.register(new MockLabelTypeService(), LabelTypeService.class.getCanonicalName());
            ComponentUtil.register(new MockVirtualHostHelper(), "virtualHostHelper");
            ComponentUtil.register(new MockRoleQueryHelper(), "roleQueryHelper");
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top