Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for newSink (0.03 sec)

  1. 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)
  2. 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)
  3. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

          val length = logMessage.length
          while (i < length) {
            var newline = logMessage.indexOf('\n', i)
            newline = if (newline != -1) newline else length
            do {
              val end = minOf(newline, i + MAX_LOG_LENGTH)
              Log.println(logLevel, tag, logMessage.substring(i, end))
              i = end
            } while (i < newline)
            i++
          }
        }
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Oct 25 11:16:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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 than
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top