- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for writeBytes (0.06 sec)
-
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
try { // Create temporary properties file File tempPropFile = File.createTempFile("test_suggest_", ".properties"); tempPropFile.deleteOnExit(); FileUtil.writeBytes(tempPropFile.getAbsolutePath(), "test.property=value".getBytes()); SuggestCreator.Options options = new SuggestCreator.Options(); options.propertiesPath = tempPropFile.getAbsolutePath();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
return Integer.valueOf(-1); } }; File file = File.createTempFile("test", ".properties"); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), "ldap.security.principal=******@****.***".getBytes("UTF-8")); DynamicProperties systemProps = new DynamicProperties(file);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
return 60000; } }; ComponentUtil.register(fessConfig, "fessConfig"); File propFile = File.createTempFile("test", ".properties"); FileUtil.writeBytes(propFile.getAbsolutePath(), new byte[0]); propFile.deleteOnExit(); systemProperties = new DynamicProperties(propFile); ComponentUtil.register(systemProperties, "systemProperties");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
private void setupMockComponents() { try { // Register mock system properties File propFile = File.createTempFile("test", ".properties"); org.codelibs.core.io.FileUtil.writeBytes(propFile.getAbsolutePath(), new byte[0]); propFile.deleteOnExit(); DynamicProperties mockProperties = new DynamicProperties(propFile) { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
queryParser.init(); return queryParser; } }; File file = File.createTempFile("test", ".properties"); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), "ldap.security.principal=******@****.***".getBytes("UTF-8")); DynamicProperties systemProps = new DynamicProperties(file); ComponentUtil.register(systemProps, "systemProperties");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
sink.writeUtf8(url.toString()).writeByte('\n'.code) sink.writeUtf8(requestMethod).writeByte('\n'.code) sink.writeDecimalLong(varyHeaders.size.toLong()).writeByte('\n'.code) for (i in 0 until varyHeaders.size) { sink .writeUtf8(varyHeaders.name(i)) .writeUtf8(": ") .writeUtf8(varyHeaders.value(i)) .writeByte('\n'.code) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Aug 06 05:33:11 UTC 2025 - 6.1K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
in 0..2 -> { completeEvent(id, type, data) return true } in 3..4 -> { source.readData(data) } in 5..7 -> { data.writeByte('\n'.code) // 'data' on a line of its own. } in 8..9 -> { id = source.readUtf8LineStrict().takeIf { it.isNotEmpty() } } in 10..12 -> {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
object : RequestBody() { override fun contentType() = null override fun writeTo(sink: BufferedSink) { for (i in 0..9) { sink.writeByte(0) sink.flush() sleep(100) } fail("Expected connection to be closed") } }, ).build(), )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
// 1 big endian int, the number of longs in our bitset // N big endian longs of our bitset DataOutputStream dout = new DataOutputStream(out); dout.writeByte(SignedBytes.checkedCast(strategy.ordinal())); dout.writeByte(UnsignedBytes.checkedCast(numHashFunctions)); // note: checked at the c'tor dout.writeInt(bits.data.length()); for (int i = 0; i < bits.data.length(); i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 26.9K bytes - Viewed (0)