Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 3,758 for null (0.02 sec)

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

        void dfsReferrals_invalidPath() {
            CIFSException ex = assertThrows(CIFSException.class, () -> transport.getDfsReferrals(ctx, "\\\\server\\share", null, null, 1));
            assertTrue(ex.getMessage().contains("double slash"));
        }
    
        @Nested
        @MockitoSettings(strictness = Strictness.LENIENT)
        class PreauthHashAndEncryption {
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbOperationException.java

            super(formatMessage(errorCode, message), cause);
            this.errorCode = errorCode;
            this.originalMessage = message;
            this.retryPolicy = retryPolicy != null ? retryPolicy : RetryPolicy.DEFAULT;
            this.context = context != null ? new HashMap<>(context) : new HashMap<>();
            this.operationStartTime = System.currentTimeMillis();
            this.operationName = extractOperationName();
            this.attemptNumber = 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsKeyTester.java

      public void testContains_nullNotContainedButAllowed() {
        assertFalse("containsKey(null) should return false", getMap().containsKey(null));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
      public void testContains_nullNotContainedAndUnsupported() {
        expectNullKeyMissingWhenNullKeysUnsupported("containsKey(null) should return false or throw");
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEYS)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 26 21:06:36 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL));
                return null;
            }).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL));
                return null;
            });
            charMappingService.store(body.dictId, entity);
            return asJson(
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            File outputFile = new File("test.jpg");
            assertFalse(emptyGenerator.generate("thumbnailId", outputFile));
            assertFalse(emptyGenerator.generate(null, outputFile));
            assertFalse(emptyGenerator.generate("thumbnailId", null));
            assertFalse(emptyGenerator.generate(null, null));
        }
    
        public void test_destroy() {
            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

      public void testAddAllAtIndex_nullSupported() {
        List<E> containsNull = singletonList(null);
        assertTrue("addAll(n, containsNull) should return true", getList().addAll(0, containsNull));
        /*
         * We need (E) to force interpretation of null as the single element of a
         * varargs array, not the array itself
         */
        expectAdded(0, (E) null);
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                assertNull(context.getSalt());
                assertEquals(6, context.size()); // 4 header + 2 for one hash algo
            }
    
            @Test
            @DisplayName("Should handle both null parameters")
            void testBothNullParameters() {
                context = new PreauthIntegrityNegotiateContext(mockConfig, null, null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java

            }
    
            Map<String, Object> doc = null;
            try {
                doc = searchHelper.getDocumentByDocId(form.docId, queryFieldConfig.getCacheResponseFields(), getUserBean()).orElse(null);
            } catch (final Exception e) {
                logger.warn("Failed to request: {}", form.docId, e);
            }
            if (doc == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

        )
        val request = Request.Builder().url(server.url("/")).build()
        val response = client.newCall(request).execute()
        response.processEventSource(listener)
        listener.assertOpen()
        listener.assertEvent(null, null, "hey")
        listener.assertClose()
      }
    
      @Test
      fun cancelShortCircuits() {
        server.enqueue(
          MockResponse
            .Builder()
            .body(
              """
              |data: hey
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 13:49:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

        assertEquals(getMethodName() + "(nullNotPresent) should return -1", -1, find(null));
      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
      public void testFind_nullNotContainedAndUnsupported() {
        try {
          assertEquals(getMethodName() + "(nullNotPresent) should return -1 or throw", -1, find(null));
        } catch (NullPointerException tolerated) {
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top