Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2141 - 2150 of 5,013 for cstring (0.08 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

            assertTrue(responseData.getUrl().endsWith("test/text%203.txt"));
            final String content = new String(InputStreamUtil.getBytes(responseData.getResponseBody()), "UTF-8");
            assertEquals("test3\n", content);
        }
    
        public void test_preprocessUri() {
            String value;
            String result;
    
            value = "file://test.txt";
            result = "file://test.txt";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

      private static final int VALUE_PREFIX = 12345;
      private static final String KEY_PREFIX = "key prefix:";
    
      public void testExpiration_expireAfterWrite() {
        FakeTicker ticker = new FakeTicker();
        CountingRemovalListener<String, Integer> removalListener = countingRemovalListener();
        WatchedCreatorLoader loader = new WatchedCreatorLoader();
        LoadingCache<String, Integer> cache =
            CacheBuilder.newBuilder()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/MIEName.java

         */
        @Override
        public int hashCode() {
            return this.oid.hashCode();
        }
    
        /*
         * (non-Javadoc)
         *
         * @see java.lang.Object#toString()
         */
        @Override
        public String toString() {
            return this.name;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            // First name entry (18 bytes)
            String name1 = "WORKSTATION     ";
            System.arraycopy(name1.getBytes("US-ASCII"), 0, src, srcIndex + 1, 16);
            src[srcIndex + 16] = 0x00; // hex code
            src[srcIndex + 17] = 0x04; // flags: active
    
            // Second name entry (18 bytes)
            String name2 = "DOMAIN          ";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/net/MimeTypeUtil.java

         * @param path
         *            The path. Must not be {@literal null} or an empty string.
         * @return The content type.
         */
        public static String guessContentType(final String path) {
            assertArgumentNotEmpty("path", path);
    
            final InputStream is = ResourceUtil.getResourceAsStream(path);
            try {
                final String mimetype = URLConnection.guessContentTypeFromStream(is);
                if (mimetype != null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        public void setFullUNCPath(final String domain, final String server, final String fullName) {
            this.domain = domain;
            this.server = server;
            this.fullName = fullName;
        }
    
        /**
         * {@inheritDoc}
         *
         * Strips a leading \
         *
         * @see jcifs.internal.RequestWithPath#setPath(java.lang.String)
         */
        @Override
        public void setPath(String path) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  7. src/bytes/buffer_test.go

    	}
    
    	if string(bytes) != s {
    		t.Errorf("%s: string(buf.Bytes()) == %q, s == %q", testname, string(bytes), s)
    	}
    }
    
    // Fill buf through n writes of string fus.
    // The initial contents of buf corresponds to the string s;
    // the result is the final contents of buf returned as a string.
    func fillString(t *testing.T, testname string, buf *Buffer, s string, n int, fus string) string {
    	check(t, testname+" (fill 1)", buf, s)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 16:13:04 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. cmd/data-usage-utils.go

    			Description:    getClusterTransitionedBytesMD(),
    			Value:          float64(st.TotalSize),
    			VariableLabels: map[string]string{"tier": tier},
    		})
    		metrics = append(metrics, MetricV2{
    			Description:    getClusterTransitionedObjectsMD(),
    			Value:          float64(st.NumObjects),
    			VariableLabels: map[string]string{"tier": tier},
    		})
    		metrics = append(metrics, MetricV2{
    			Description:    getClusterTransitionedVersionsMD(),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                StringBuilder pathBuilder = new StringBuilder("\\\\server\\share");
                for (int i = 0; i < 100; i++) {
                    pathBuilder.append("\\segment").append(i);
                }
                String path = pathBuilder.toString();
    
                buffer = new DfsReferralRequestBuffer(path, 3);
    
                int expectedSize = 4 + 2 * path.length();
                assertEquals(expectedSize, buffer.size());
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

         */
        public static long scroll(final String index, final Function<SearchHit, Boolean> callback) {
            final SearchEngineClient client = ComponentUtil.getSearchEngineClient();
            return client.<SearchHit> scrollSearch(index, searchRequestBuilder -> true, (searchResponse, hit) -> hit,
                    hit -> callback.apply(hit));
        }
    
        /**
         * Converts a ToXContent object to its string representation using the specified media type.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top