Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 277 for setBytes (0.71 sec)

  1. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

            // Setup system properties for DI container
            File file = File.createTempFile("test", ".properties");
            file.deleteOnExit();
            FileUtil.writeBytes(file.getAbsolutePath(), "test.property=test".getBytes("UTF-8"));
            DynamicProperties systemProps = new DynamicProperties(file);
            ComponentUtil.register(systemProps, "systemProperties");
    
            relatedQueryHelper = new RelatedQueryHelper() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new Group()).map(entity -> {
                    entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8)));
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new User()).map(entity -> {
                    entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8)));
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/Kerb5ContextTest.java

        private static byte[] buildExportName(Oid mech, String name) throws GSSException {
            byte[] der = mech.getDER();
            byte[] nb = name.getBytes();
            int len = 2 + 2 + der.length + 4 + nb.length;
            byte[] out = new byte[len];
            int i = 0;
            out[i++] = 0x04; // TOK_ID[0]
            out[i++] = 0x01; // TOK_ID[1]
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            // Setup system properties for DI container
            File file = File.createTempFile("test", ".properties");
            file.deleteOnExit();
            FileUtil.writeBytes(file.getAbsolutePath(), "test.property=test".getBytes("UTF-8"));
            DynamicProperties systemProps = new DynamicProperties(file);
            ComponentUtil.register(systemProps, "systemProperties");
            ComponentUtil.register(new MockFessConfig(), "fessConfig");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/HashingTest.java

        }
      }
    
      public void testNullPointers() {
        NullPointerTester tester =
            new NullPointerTester()
                .setDefault(byte[].class, "secret key".getBytes(UTF_8))
                .setDefault(HashCode.class, HashCode.fromLong(0));
        tester.testAllPublicStaticMethods(Hashing.class);
      }
    
      public void testSeedlessHashFunctionEquals() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  7. api/go1.txt

    pkg math/big, method (*Int) Set(*Int) *Int
    pkg math/big, method (*Int) SetBit(*Int, int, uint) *Int
    pkg math/big, method (*Int) SetBits([]Word) *Int
    pkg math/big, method (*Int) SetBytes([]uint8) *Int
    pkg math/big, method (*Int) SetInt64(int64) *Int
    pkg math/big, method (*Int) SetString(string, int) (*Int, bool)
    pkg math/big, method (*Int) Sign() int
    pkg math/big, method (*Int) String() string
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            }
    
            validate(form, messages -> {}, () -> asEditHtml(form));
            verifyToken(() -> asEditHtml(form));
            try {
                write(jspFile.getAbsolutePath(), decodeJsp(form.content).getBytes(Constants.UTF_8));
                saveInfo(messages -> messages.addSuccessUpdateDesignJspFile(GLOBAL, jspFile.getAbsolutePath()));
            } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

            String testData =
                    "This is test data for compression that should be long enough to actually compress effectively when using gzip compression algorithm";
            byte[] originalBytes = testData.getBytes();
    
            byte[] compressed = searchHelper.gzipCompress(originalBytes);
            byte[] decompressed = searchHelper.gzipDecompress(compressed);
    
            assertEquals(testData, new String(decompressed));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/Utf8Test.java

          }
          boolean isRoundTrippable = Utf8.isWellFormed(bytes);
          assertEquals(isRoundTrippable, Utf8.isWellFormed(bytes, 0, numBytes));
          String s = new String(bytes, UTF_8);
          byte[] bytesReencoded = s.getBytes(UTF_8);
          boolean bytesEqual = Arrays.equals(bytes, bytesReencoded);
    
          if (bytesEqual != isRoundTrippable) {
            fail();
          }
          if (isRoundTrippable) {
            countRoundTripped++;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top