Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1631 - 1640 of 3,858 for full (0.02 sec)

  1. src/main/java/org/codelibs/core/io/ReaderUtil.java

        /**
         * Creates a {@link Reader} to read from a file with the specified encoding.
         *
         * @param is
         *            the input stream (must not be {@literal null})
         * @param encoding
         *            the encoding of the input stream (must not be {@literal null} or empty)
         * @return a {@link Reader} to read from the file
         */
        public static InputStreamReader create(final InputStream is, final String encoding) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

            () -> map.putInstance((TypeToken<Integer>) null, Integer.valueOf(1)));
        map.putInstance(Integer.class, null);
        assertTrue(map.containsKey(TypeToken.of(Integer.class)));
        assertTrue(map.entrySet().contains(immutableEntry(TypeToken.of(Integer.class), null)));
        assertNull(map.get(TypeToken.of(Integer.class)));
        assertNull(map.getInstance(Integer.class));
    
        map.putInstance(Long.class, null);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            buffer.put(domainNameBytes);
            buffer.put((byte) 0x00); // Null terminator
    
            byte[] byteData = buffer.array();
    
            // Call the method
            int bytesRead = response.readBytesWireFormat(byteData, 0);
    
            // Assertions
            // readBytesWireFormat returns bytes processed up to null terminator
            assertEquals(14, bytesRead); // 8 bytes key + 6 bytes domain name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. 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)
  5. .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)
  6. 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)
  7. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java

            if (esCb.getPreference() != null) {
                builder.setPreference(esCb.getPreference());
            }
            esCb.request().build(builder);
            SearchResponse response = esCb.build(builder).execute().actionGet(scrollSearchTimeout);
            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                }
    
                Arrays.sort(array, (o1, o2) -> {
                    if (o1 == null && o2 == null) {
                        return 0;
                    }
                    if (o1 == null) {
                        return -1;
                    }
                    if (o2 == null) {
                        return 1;
                    }
    
                    final Object timeObj1 = o1.get(FieldNames.TIMESTAMP);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            assertEquals("http://test.com/sitemap.xml", removedSitemaps[1]);
    
            // Should be null after removal
            assertNull(crawlerContext.removeSitemaps());
    
            // Test with null
            crawlerContext.addSitemaps(null);
            assertNull(crawlerContext.removeSitemaps());
    
            // Test with empty array
            crawlerContext.addSitemaps(new String[0]);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

            }
    
            @Test
            @DisplayName("Handles null destination without throwing and returns 0")
            void allowsNullBuffer() {
                // Arrange
                Smb2LogoffResponse resp = newResponse();
    
                // Act & Assert
                assertEquals(0, resp.writeBytesWireFormat(null, 0), "Should return 0 even with null buffer");
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top