Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 271 for setBytes (0.04 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            jvmMemoryObj.heap = jvmMemoryHeapObj;
            jvmMemoryHeapObj.used = mem.getHeapUsed().getBytes();
            jvmMemoryHeapObj.committed = mem.getHeapCommitted().getBytes();
            jvmMemoryHeapObj.max = mem.getHeapMax().getBytes();
            jvmMemoryHeapObj.percent = mem.getHeapUsedPercent();
            final JvmMemoryNonHeapObj jvmMemoryNonHeapObj = new JvmMemoryNonHeapObj();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            if (tempFile != null && tempFile.exists()) {
                tempFile.delete();
            }
        }
    
        @Test
        public void testMemoryBasedCacheConstructor() {
            byte[] data = "Hello, World!".getBytes();
            ContentCache cache = new ContentCache(data);
    
            assertNotNull(cache);
        }
    
        @Test
        public void testFileBasedCacheConstructor() throws IOException {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

      public void testSomeOtherKnownValues() {
        assertCrc(0x22620404, "The quick brown fox jumps over the lazy dog".getBytes(UTF_8));
        assertCrc(0xE3069283, "123456789".getBytes(UTF_8));
        assertCrc(0xf3dbd4fe, "1234567890".getBytes(UTF_8));
        assertCrc(0xBFE92A83, "23456789".getBytes(UTF_8));
      }
    
      public void testAgainstSimplerImplementation() {
        Random r = new Random(1234567);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

              } else {
                int codePoint = Character.codePointAt(input, i);
                if (codePoint == c) {
                  // fall back to JDK getBytes instead of trying to handle invalid surrogates ourselves
                  putBytes(input.subSequence(i, utf16Length).toString().getBytes(charset));
                  return this;
                }
                i++;
                update(4, codePointToFourUtf8Bytes(codePoint));
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/CurlRequestTest.java

        }
    
        @Test
        public void testBodyInputStreamMethod() {
            CurlRequest request = new CurlRequest(Method.POST, "https://example.com");
            InputStream stream = new ByteArrayInputStream("test data".getBytes());
    
            CurlRequest result = request.body(stream);
    
            assertSame(request, result); // Fluent API
            assertNull(request.body()); // body() returns String body, not stream
        }
    
        @Test
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

              } else {
                int codePoint = Character.codePointAt(input, i);
                if (codePoint == c) {
                  // fall back to JDK getBytes instead of trying to handle invalid surrogates ourselves
                  putBytes(input.subSequence(i, utf16Length).toString().getBytes(charset));
                  return this;
                }
                i++;
                update(4, codePointToFourUtf8Bytes(codePoint));
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/Type2Message.java

                if (targetName != null && targetName.length() != 0) {
                    targetBytes = (flags & NTLMSSP_NEGOTIATE_UNICODE) != 0 ? targetName.getBytes(UNI_ENCODING)
                            : targetName.toUpperCase().getBytes(getOEMEncoding());
                    size += targetBytes.length;
                } else {
                    flags &= 0xffffffff ^ NTLMSSP_REQUEST_TARGET;
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            String pipeName = "TestPipe";
            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName);
    
            // Verify size calculation
            int expectedSize = 14 + pipeName.getBytes(StandardCharsets.UTF_16LE).length;
            assertEquals(expectedSize, request.size());
        }
    
        @Test
        @DisplayName("Test constructor with name and timeout sets correct fields")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java

            assertTrue(testFacetInfo.getAddedQueries().contains("field2:value2"));
        }
    
        // Test init() method with file type queries
        public void test_init_withFileTypeQueries() {
            testFileTypeHelper.setTypes(new String[] { "pdf", "doc", "txt" });
    
            facetQueryView.addQuery("label1", "filetype:html");
            facetQueryView.addQuery("label2", "field2:value2");
    
            facetQueryView.init();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

        }
    
        @Test
        public void testAsciiEncoding() throws Exception {
            String msg = "\u00A1\u00A2"; // same Unicode string
            byte[] asciiBytes = msg.getBytes(SmbConstants.DEFAULT_OEM_ENCODING);
            assertTrue(asciiBytes.length > 0, "ASCII encoding should produce bytes");
        }
    
        @Test
        public void testBufferCreation() throws UnsupportedEncodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top