Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 279 for metabytes (0.06 sec)

  1. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                    assertEquals(TEST_DOMAIN.getBytes(Type2Message.UNI_ENCODING).length, Type2Message.readUShort(targetInfo, 2)); // Length
                    assertEquals(TEST_DOMAIN,
                            new String(Arrays.copyOfRange(targetInfo, 4, 4 + TEST_DOMAIN.getBytes(Type2Message.UNI_ENCODING).length),
                                    Type2Message.UNI_ENCODING));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  2. cmd/erasure-sets_test.go

    		key int
    	}{
    		{16},
    		{64},
    		{128},
    		{256},
    		{512},
    		{1024},
    	}
    	for _, testCase := range cases {
    		key := randString(testCase.key)
    		b.Run("", func(b *testing.B) {
    			b.SetBytes(1024)
    			b.ReportAllocs()
    			b.ResetTimer()
    			for b.Loop() {
    				crcHashMod(key, 16)
    			}
    		})
    	}
    }
    
    func BenchmarkSipHash(b *testing.B) {
    	cases := []struct {
    		key int
    	}{
    		{16},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/crypto/CachedCipher.java

         * @param text
         *            the text to encrypt
         * @return the encrypted text
         */
        public String encryptoText(final String text) {
            try {
                return Base64Util.encode(encrypto(text.getBytes(charsetName)));
            } catch (final UnsupportedEncodingException e) {
                throw new UnsupportedEncodingRuntimeException(e);
            }
        }
    
        /**
         * Decrypts the given data.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(encoding.encode(decoded.getBytes(UTF_8))).isEqualTo(encoded);
      }
    
      private static void testEncodesWithOffset(
          BaseEncoding encoding, String decoded, int offset, int len, String encoded) {
        assertThat(encoding.encode(decoded.getBytes(UTF_8), offset, len)).isEqualTo(encoded);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/TestByteSink.java

      private boolean outputStreamOpened;
      private boolean outputStreamClosed;
    
      public TestByteSink(TestOption... options) {
        this.options = ImmutableSet.copyOf(options);
      }
    
      byte[] getBytes() {
        return bytes.toByteArray();
      }
    
      @Override
      public boolean wasStreamOpened() {
        return outputStreamOpened;
      }
    
      @Override
      public boolean wasStreamClosed() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            // ShortName (24 bytes)
            for (int i = 0; i < 24; i++) {
                buffer[dataOffset + 70 + i] = 0;
            }
            // FileName
            "test".getBytes(StandardCharsets.UTF_16LE);
            System.arraycopy("test".getBytes(StandardCharsets.UTF_16LE), 0, buffer, dataOffset + 94, 8);
    
            int result = response.readBytesWireFormat(buffer, bufferIndex);
    
            assertNotNull(response.getResults());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

                }
            };
            File file = File.createTempFile("test", ".properties");
            file.deleteOnExit();
            FileUtil.writeBytes(file.getAbsolutePath(), "ldap.security.principal=******@****.***".getBytes("UTF-8"));
            DynamicProperties systemProps = new DynamicProperties(file);
    
            // Get existing component and update it instead of registering new one
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            for (int i = 0; i < 16; i++) {
                assertEquals(fileId[i], buffer[Smb2Constants.SMB2_HEADER_LENGTH + 8 + i]);
            }
    
            // Verify filename
            byte[] expectedFileName = "*.txt".getBytes(StandardCharsets.UTF_16LE);
            assertTrue(bytesWritten > 32);
            assertEquals(32 + expectedFileName.length, bytesWritten);
        }
    
        @Test
        @DisplayName("Test writeBytesWireFormat without fileName")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type3Message.java

                domainBytes = unicode ? domainName.getBytes(UNI_ENCODING) : domainName.getBytes(oemCp);
                size += domainBytes.length;
            }
    
            final String userName = getUser();
            byte[] userBytes = null;
            if (userName != null && userName.length() != 0) {
                userBytes = unicode ? userName.getBytes(UNI_ENCODING) : userName.toUpperCase().getBytes(oemCp);
                size += userBytes.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

        for (int i = 0; i < reps; i++) {
          res +=
              System.identityHashCode(
                  hashFunctionEnum
                      .getHashFunction()
                      .hashBytes(strings[i & SAMPLE_MASK].getBytes(UTF_8)));
        }
        return res;
      }
    
      @Benchmark
      int hashUtf8GetBytesHasher(int reps) {
        int res = 0;
        for (int i = 0; i < reps; i++) {
          res +=
              System.identityHashCode(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top