- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 100 for readbyte (0.32 sec)
-
subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/KotlinStdlibFileInterceptors.java
public static byte[] intercept_readBytes( File self, @CallerClassName String consumer ) { Instrumented.fileOpened(self, consumer); return FilesKt.readBytes(self); } @InterceptCalls @StaticMethod(ofClass = FilesKt.class) public static void intercept_forEachBlock( File self, Function2<?, ?, ?> action,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 12:34:20 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/PluginSpecBuilderAccessorsClassPathTest.kt
binDir = binDir ) } // then: val generatedAccessors = String(srcDir.resolve("org/gradle/kotlin/dsl/PluginDependencySpecAccessors.kt").readBytes()) assertThat( generatedAccessors, allOf( not(containsString("\r")), containsString("import MyPlugin"), containsMultiLineString(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:27 UTC 2023 - 6.3K bytes - Viewed (0) -
src/compress/bzip2/huffman.go
if br.bits > 0 { // Get next bit - fast path. br.bits-- bit = uint16(br.n>>(br.bits&63)) & 1 } else { // Get next bit - slow path. // Use ReadBits to retrieve a single bit // from the underling io.ByteReader. bit = uint16(br.ReadBits(1)) } // Trick a compiler into generating conditional move instead of branch, // by making both loads unconditional. l, r := node.left, node.right
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:44:37 UTC 2024 - 6.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java
final File file = new File(fileTransformer.baseDir, new String(resultData.getData(), "UTF-8")); assertEquals("xyz", new String(FileUtil.readBytes(file))); } public void test_createFile() throws Exception { fileTransformer.baseDir = File.createTempFile("crawler-", ""); fileTransformer.baseDir.delete();
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.6K bytes - Viewed (0) -
src/debug/dwarf/typeunit.go
} if tu.cache != nil { return tu.cache, nil } b := makeBuf(d, tu, tu.name, tu.off, tu.data) r := &typeUnitReader{d: d, tu: tu, b: b} t, err := d.readType(tu.name, r, tu.toff, make(map[Offset]Type), nil) if err != nil { return nil, err } tu.cache = t return t, nil } // typeUnitReader is a typeReader for a tagTypeUnit.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr6_writing_tasks.adoc
if (it.extension == "java") { // Read the source code var ins: InputStream = it.inputStream() var content = ins.readBytes().toString(Charset.defaultCharset()) // Write the license and the source code to the file it.writeText(licenseText + content) } } } } ---- =====
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 29 17:16:27 UTC 2024 - 7.4K bytes - Viewed (0) -
internal/s3select/json/preader.go
// ReadFull returns ErrUnexpectedEOF. return dst[:n], err } dst = dst[:n] if err == io.ErrUnexpectedEOF { return dst, io.EOF } } // Read until next line. in, err := r.buf.ReadBytes('\n') dst = append(dst, in...) return dst, err } // jsonSplitSize is the size of each block. // Blocks will read this much and find the first following newline.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Mar 05 04:57:35 UTC 2023 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/jit/tests/auto_clustering_test_helper.cc
/*output_buffer_bytes=*/k_buffer_size, io::ZlibCompressionOptions::GZIP()); tstring decompressed_pbtxt_string; Status s = in.ReadNBytes(INT_MAX, &decompressed_pbtxt_string); if (!s.ok() && !errors::IsOutOfRange(s)) { // OutOfRange is fine since we set the number of read bytes to INT_MAX. // Only return other kinds of errors. return s; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 12:11:46 UTC 2024 - 8.5K bytes - Viewed (0) -
internal/s3select/csv/reader.go
// ReadFull returns ErrUnexpectedEOF. return dst[:n], err } dst = dst[:n] if err == io.ErrUnexpectedEOF { return dst, io.EOF } } // Read until next line. in, err := r.buf.ReadBytes('\n') dst = append(dst, in...) return dst, err } // csvSplitSize is the size of each block. // Blocks will read this much and find the first following newline.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
} } /** * ファイルの内容をバイト配列に読み込んで返します。 * * @param file * ファイル。{@literal null}であってはいけません * @return ファイルの内容を読み込んだバイト配列 */ public static byte[] readBytes(final File file) { assertArgumentNotNull("file", file); final FileInputStream is = InputStreamUtil.create(file); try { final FileChannel channel = is.getChannel();
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9K bytes - Viewed (0)