- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for newSink (0.03 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
} assertFailsWith<IllegalStateException> { newSink(0) } assertFailsWith<IllegalStateException> { commit() } assertFailsWith<IllegalStateException> { abort() } } private fun Editor.setString( index: Int, value: String, ) { newSink(index).buffer().use { writer -> writer.writeUtf8(value) }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 59.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
@Synchronized fun requestCount(): Int = requestCount private inner class RealCacheRequest( private val editor: DiskLruCache.Editor, ) : CacheRequest { private val cacheOut: Sink = editor.newSink(ENTRY_BODY) private val body: Sink var done = false init { this.body = object : ForwardingSink(cacheOut) { @Throws(IOException::class) override fun close() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 26.8K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Oct 25 11:16:17 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
callback.onRetryChange(retryMs) } } -1 -> { val lineEnd = source.indexOfElement(CRLF) if (lineEnd != -1L) { // Skip the line and newline source.skip(lineEnd) source.select(options) } else { return false // No more newlines. } } else -> throw AssertionError() }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 07:51:20 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
*/ public String getNewOutput() { return newOutput; } /** * Sets the new output character sequence for update operations. * Newline characters in the output are automatically replaced with spaces. * * @param newOutput the new output sequence to set */ public void setNewOutput(final String newOutput) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java
* @return The original input words (defensive copy). */ public String[] getInputs() { return inputs == null ? null : inputs.clone(); } /** * Gets the input words as a newline-separated string. * * @return The input words as a string. */ public String getInputsValue() { if (inputs == null) { return StringUtil.EMPTY; }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CharUtilTest.java
// Test characters that are not allowed assertFalse(CharUtil.isUrlChar(' ')); // space assertFalse(CharUtil.isUrlChar('\t')); // tab assertFalse(CharUtil.isUrlChar('\n')); // newline assertFalse(CharUtil.isUrlChar('\r')); // carriage return assertFalse(CharUtil.isUrlChar('<')); // less than assertFalse(CharUtil.isUrlChar('>')); // greater thanRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
}, errorHook); } } /** * Encodes permission strings into an array. * * @param permissionsText the permissions text (newline-separated) * @return encoded permission array */ protected static String[] encodePermissions(final String permissionsText) { final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 07:01:25 UTC 2025 - 9.7K bytes - Viewed (0) -
MIGRATION.md
### 1. Admin UI Import **Path**: System > Backup > Upload **Supported Formats**: - **GSA XML** (`gsa*.xml`) - GSA configuration files - **Bulk NDJSON** (`*.bulk`) - Newline-delimited JSON documents - **Fess JSON** (`fess*.json`) - Fess configuration export - **Doc JSON** (`doc*.json`) - Document data export - **System Properties** (`system.properties`) - System configuration **Usage**:
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 06 12:40:11 UTC 2025 - 23.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
* * @param text the raw text containing URL patterns, one per line * @param web true if web protocol URLs should be included * @param file true if file protocol URLs should be included * @return a newline-separated string of filtered URL patterns */ protected String parseFilterPaths(final String text, final boolean web, final boolean file) { return split(text, "\n")Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 21.6K bytes - Viewed (0)