Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for SetBytes (0.14 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();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

            }
    
            return newDictionaryFile(encodePath(path), path, timestamp);
        }
    
        protected String encodePath(final String path) {
            return Base64.getUrlEncoder().encodeToString(path.getBytes(Constants.CHARSET_UTF_8));
        }
    
        protected boolean isTarget(final String path) {
            return pattern.matcher(path).find();
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

            super.setUp();
            file1 = File.createTempFile("synonym", ".txt");
            FileUtil.writeBytes(file1.getAbsolutePath(),
                    "a1=>A1\nb1,b2 => B1\nc1 => C1, C2\nx1,X1\ny1, Y1, y2"
                            .getBytes(Constants.UTF_8));
            // TODO set up opensearch and dictionaryManager
            synonymFile = new SynonymFile("1", file1.getAbsolutePath(), new Date());
        }
    
        @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

    /**
     * @author higa
     *
     */
    public class Base64UtilTest extends TestCase {
    
        private static final String ORIGINAL = "how now brown cow\r\n";
    
        private static final byte[] BINARY_DATA = ORIGINAL.getBytes();
    
        private static final String ENCODED_DATA = "aG93IG5vdyBicm93biBjb3cNCg==";
    
        /**
         * @throws Exception
         */
        public void testEncode() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

                    break;
                case 2:
                    DERBitString bitString = ASN1Util.as(DERBitString.class, tagged);
                    this.apOptions = bitString.getBytes()[ 0 ];
                    break;
                case 3:
                    ASN1TaggedObject derTicket = ASN1Util.as(ASN1TaggedObject.class, tagged);
                    if ( derTicket.getTagClass() != BERTags.APPLICATION )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/xml/DomUtil.java

            assertArgumentNotNull("contents", contents);
    
            if (encoding == null) {
                return new ByteArrayInputStream(contents.getBytes());
            }
            try {
                return new ByteArrayInputStream(contents.getBytes(encoding));
            } catch (final UnsupportedEncodingException ex) {
                throw new IORuntimeException(ex);
            }
        }
    
        /**
         * 属性の値をエンコードします。
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                                    groupList.add(Base64.getUrlEncoder().encodeToString(name.getBytes(Constants.CHARSET_UTF_8)));
                                } else if (lowerEntryDn.indexOf(lowerRoleDn) != -1) {
                                    roleList.add(Base64.getUrlEncoder().encodeToString(name.getBytes(Constants.CHARSET_UTF_8)));
                                }
                            });
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 65.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

                return buckets.stream().map(e -> {
                    final Map<String, Object> map = new HashMap<>();
                    map.put(ID, Base64.getUrlEncoder().encodeToString(e.getKeyAsString().getBytes(StandardCharsets.UTF_8)));
                    map.put(KEY, e.getKeyAsString());
                    map.put(COUNT, e.getDocCount());
                    return map;
                }).collect(Collectors.toList());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 28.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java

                return (byte[]) o;
            } else if (o == null) {
                return null;
            } else {
                assertArgument("o", o instanceof String, o.getClass().toString());
                return ((String) o).getBytes();
            }
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                try {
                    final String pluginMetaContent = getRepositoryContent(pluginUrl + "maven-metadata.xml");
                    try (final InputStream is = new ByteArrayInputStream(pluginMetaContent.getBytes(Constants.UTF_8_CHARSET))) {
                        final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                        factory.setFeature(Constants.FEATURE_SECURE_PROCESSING, true);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K bytes
    - Viewed (0)
Back to top