Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1171 - 1180 of 3,735 for Null (0.02 sec)

  1. android/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)
  2. src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java

        }
    
        // Test register with null factory throws exception
        public void test_register_nullFactory() {
            ComponentUtil.register(null, "scriptEngineFactory");
    
            try {
                testScriptEngine.register();
                fail("Should throw exception when factory is null");
            } catch (NullPointerException e) {
                // Expected exception
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java

        public Suggester build(final Client client, final String id) {
            if (settings == null) {
                if (settingsBuilder == null) {
                    settingsBuilder = SuggestSettings.builder();
                }
                settings = settingsBuilder.build(client, id);
            }
            settings.init();
    
            if (readingConverter == null) {
                readingConverter = SuggestUtil.createDefaultReadingConverter(client, settings);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InetAddresses.java

        // Parse the address, and make sure the length/version is correct.
        Scope scope = parseScope ? new Scope() : null;
        byte[] addr = ipStringToBytes(ipString, scope);
        if (addr == null || addr.length != expectBytes) {
          return null;
        }
    
        return bytesToInetAddress(addr, (scope != null) ? scope.scope : null);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MsWordExtractorTest.java

            final String content = msWordExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("ใƒ†ใ‚นใƒˆ"));
        }
    
        public void test_getText_null() {
            try {
                msWordExtractor.getText(null, null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

        webSocket.close(1000, null);
        System.out.println("onClose (" + code + "): " + reason);
      }
    
      @Override public void onFailure(WebSocket webSocket, Throwable t, Response response) {
        // TODO(jwilson): can I read the response body? Do I have to?
        System.out.println("onFailure " + response);
      }
    
      @Override public void close() throws IOException {
        if (webSocket == null) return;
    
        WebSocket webSocket;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Nov 19 20:16:58 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

                    MASTER_BRANCH -> 0
                    RELEASE_BRANCH -> 1
                    else -> {
                        val matchResult = OLD_RELEASE_PATTERN.find(branchName)
                        if (matchResult == null) {
                            null
                        } else {
                            (matchResult.groupValues[1].toInt() - 4).apply {
                                require(this in 2..23)
                            }
                        }
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jun 17 09:57:45 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolder.java

         * @param path The path to match.
         * @return The matching SmbAuthentication object, or null if no match is found.
         */
        public SmbAuthentication get(final String path) {
            if (path == null) {
                return null;
            }
    
            for (final Map.Entry<String, SmbAuthentication> entry : authMap.entrySet()) {
                if (path.startsWith(entry.getKey())) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertNull(DocumentUtil.getValue(null, "key", String.class));
            assertNull(DocumentUtil.getValue(null, "key", Integer.class));
        }
    
        public void test_getValue_with_null_key() {
            Map<String, Object> doc = new HashMap<>();
            doc.put("key", "value");
            assertNull(DocumentUtil.getValue(doc, null, String.class));
            assertNull(DocumentUtil.getValue(doc, null, Integer.class));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            assertEquals(0, response.writeDataWireFormat(null, 0));
    
            // Read methods return 0 without accessing null buffer
            assertEquals(0, response.readSetupWireFormat(null, 0, 0));
            assertEquals(0, response.readParametersWireFormat(null, 0, 0));
            assertEquals(0, response.readDataWireFormat(null, 0, 0));
        }
    
        @Test
        @DisplayName("Methods should handle empty buffer")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top