- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for nBytes (0.14 sec)
-
src/main/java/org/codelibs/curl/CurlResponse.java
public String getContentAsString() { final byte[] bytes = new byte[4096]; try (BufferedInputStream bis = new BufferedInputStream(getContentAsStream()); ByteArrayOutputStream baos = new ByteArrayOutputStream()) { int length = bis.read(bytes); while (length != -1) { if (length != 0) { baos.write(bytes, 0, length); }
Java - Registered: Thu May 09 15:34:10 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
/* * The SMB_COM_NT_CREATE_ANDX response wordCount is wrong. There's an * extra 16 bytes for some "Offline Files (CSC or Client Side Caching)" * junk. We need to bump up the wordCount here so that this method returns * the correct number of bytes for signing purposes. Otherwise we get a * signing verification failure. */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Nov 28 10:56:27 GMT 2022 - 14.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
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) -
src/test/java/jcifs/tests/SessionTest.java
import jcifs.smb.SmbException; import jcifs.smb.SmbFile; import jcifs.smb.SmbSessionInternal; import jcifs.smb.SmbTransportInternal; import jcifs.smb.SmbTreeHandleInternal; /** * * * * Compatability Notes: * - Windows (2k8, 2k12) servers do not like extended security + DOS error codes * * @author mbechler * */ @RunWith ( Parameterized.class ) @SuppressWarnings ( { "javadoc", "deprecation" } )
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 15.8K bytes - Viewed (0) -
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) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
} /** * Returns the length of this <tt>SmbFile</tt> in bytes. If this object * is a <tt>TYPE_SHARE</tt> the total capacity of the disk shared in * bytes is returned. If this object is a directory or a type other than * <tt>TYPE_SHARE</tt>, 0L is returned. * * @return The length of the file in bytes or 0 if this * <code>SmbFile</code> is not a file. * @throws SmbException */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 107.9K bytes - Viewed (2) -
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) -
src/test/java/jcifs/tests/EnumTest.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 25.5K bytes - Viewed (0) -
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) -
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)