Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for nBytes (0.15 sec)

  1. src/main/java/org/codelibs/core/lang/StringUtil.java

        }
    
        /**
         * 16進数の文字列に変換します。
         *
         * @param bytes
         *            バイトの配列
         * @return 16進数の文字列
         */
        public static String toHex(final byte[] bytes) {
            if (bytes == null) {
                return "";
            }
            final StringBuilder sb = new StringBuilder(bytes.length * 2);
            for (final byte b : bytes) {
                appendHex(sb, b);
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                try {
                    return SerializeUtil.fromBinaryToObject(data);
                } catch (final Exception e) {
                    throw new CrawlerSystemException("Could not create an instanced from bytes.", e);
                }
            }
            return new HashMap<String, Object>();
        }
    
        public void addMetaContentMapping(final String metaname, final String dynamicField) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/FileUtil.java

                throw new IORuntimeException(e);
            }
        }
    
        public static void writeBytes(final String pathname, final byte[] bytes) {
            try (FileOutputStream fos = OutputStreamUtil.create(new File(pathname))) {
                ChannelUtil.write(fos.getChannel(), ByteBuffer.wrap(bytes));
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/MemoryUtil.java

            } else if (size.divide(ONE_KB_BI).compareTo(BigInteger.ZERO) > 0) {
                displaySize = new BigDecimal(size).divide(BigDecimal.valueOf(1000)) + "KB";
            } else {
                displaySize = size + "bytes";
            }
            return displaySize;
        }
    
        public static long getUsedMemory() {
            final Runtime runtime = Runtime.getRuntime();
            final long freeBytes = runtime.freeMemory();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

                throwTooLongBoundarySizeException(contentType, boundarySize, limitSize);
            }
        }
    
        protected int getBoundaryLimitSize() {
            // one HTTP proxy tool already limits the size (e.g. 3450 bytes)
            // so specify this size for test
            return 2000; // you can override as you like it
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                                dataMap.putAll(responseDataMap);
                            } catch (final Exception e) {
                                throw new CrawlerSystemException("Could not create an instance from bytes.", e);
                            }
                        }
                        crawlerStatsHelper.record(keyObj, StatsAction.ACCESSED);
    
                        // remove
                        String[] ignoreFields;
    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)
  7. src/main/resources/fess_label_de.properties

    labels.search_result_sort_favorite_count_asc=Favoriten-Anzahl (aufsteigend)
    labels.search_result_sort_favorite_count_desc=Favoriten-Anzahl (absteigend)
    labels.search_result_sort_multiple=Mehrere
    labels.search_result_size={0} Bytes
    labels.search_result_created=Registriert:
    labels.search_result_last_modified=Letzte Änderung:
    labels.search_result_favorite=Favorit
    labels.search_result_favorited=Als Favorit hinzugefügt
    Properties
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/FileUtilTest.java

        File inputFile = URLUtil.toFile(url);
    
        /**
         * @throws Exception
         */
        @Test
        public void testFileToFile() throws Exception {
            final byte[] bytes = readBytes(inputFile);
            assertThat(bytes, is("あいうえお".getBytes("UTF-8")));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testReadUTF8() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/ASN1Util.java

    
        /**
         * Read a  tagged object without parsing it's contents
         *
         * BC no longer seems to allow that out of the box
         *
         * @param expectTag
         * @param in
         * @return coded bytes of the tagged object
         * @throws IOException
         */
        public static byte[] readUnparsedTagged(int expectTag, int limit, ASN1InputStream in) throws IOException {
            int ftag = in.read();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  10. pom.xml

    							<licenseFamilyCategory>LGPL</licenseFamilyCategory>
    							<licenseFamilyName>GNU Lesser General Public License</licenseFamilyName>
    							<notes />
    							<patterns>
    								<pattern>This library is free software; you can redistribute it</pattern>
    								<pattern>GNU Lesser General Public License</pattern>
    							</patterns>
    						</license>
    					</licenses>
    XML
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 04 13:19:42 GMT 2024
    - 9.3K bytes
    - Viewed (1)
Back to top