Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 263 for _append (0.19 seconds)

  1. android/guava/src/com/google/common/io/Files.java

       * control how the file is opened for writing. When no mode is provided, the file will be
       * truncated before writing. When the {@link FileWriteMode#APPEND APPEND} mode is provided, writes
       * will append to the end of the file without truncating it.
       *
       * @since 14.0
       */
      public static ByteSink asByteSink(File file, FileWriteMode... modes) {
        return new FileByteSink(file, modes);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        }
    
        // Test multiple appends to the same buffer
        @Test
        public void test_multipleAppends() {
            StringBuilder buf = new StringBuilder();
    
            monitorTarget.append(buf, "key1", () -> "value1");
            buf.append(",");
            monitorTarget.append(buf, "key2", () -> 123);
            buf.append(",");
            monitorTarget.append(buf, "key3", () -> null);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/job/IndexExportJob.java

                        logger.debug("[EXPORT] Processing: count={}", currentCount);
                    }
                    return true;
                });
                resultBuf.append("Exported ").append(count).append(" documents.");
                if (logger.isInfoEnabled()) {
                    logger.info("[EXPORT] Completed: exportedCount={}, elapsedTime={}ms", count, System.currentTimeMillis() - startTime);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            final StringBuilder buf = new StringBuilder((int) (content.length() * 1.3));
            buf.append(prefix).append(1).append(':').append(values[0]);
            for (int i = 1; i < values.length; i++) {
                buf.append('\n').append(prefix).append(i + 1).append(':').append(values[i]);
            }
            return buf.toString();
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/ByteSourceTest.java

        // Slice it starting at offset 10.
        ByteSource slice = source.slice(10, 5);
    
        // Open a stream to the slice.
        InputStream in = slice.openStream();
    
        // Append 10 more bytes to the source.
        source.append(newPreFilledByteArray(5, 10));
    
        // The stream reports no bytes... importantly, it doesn't read the byte at index 5 when it
        // should be reading the byte at index 10.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

                final char c = configPath.charAt(i);
                if (c == '\\') {
                    buf.append('/');
                } else if (c == ' ') {
                    buf.append("%20");
                } else if (CharUtil.isUrlChar(c)) {
                    buf.append(c);
                } else {
                    try {
                        buf.append(URLEncoder.encode(String.valueOf(c), Constants.UTF_8));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 02:14:37 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/net/InetAddresses.java

          boolean thisIsNumber = hextets[i] >= 0;
          if (thisIsNumber) {
            if (lastWasNumber) {
              buf.append(':');
            }
            buf.append(Integer.toHexString(hextets[i]));
          } else {
            if (i == 0 || lastWasNumber) {
              buf.append("::");
            }
          }
          lastWasNumber = thisIsNumber;
        }
        return buf.toString();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        /*
         * We need to wait for the runner to exit. It used to be that the runner would get stuck in the
         * busy loop when interrupt threw.
         *
         * While we're at it, we confirm that the interrupt happened as expected.
         */
        ExecutionException fromRunInterruptibly =
            assertThrows(ExecutionException.class, () -> taskResult.get(10, SECONDS));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        /*
         * We need to wait for the runner to exit. It used to be that the runner would get stuck in the
         * busy loop when interrupt threw.
         *
         * While we're at it, we confirm that the interrupt happened as expected.
         */
        ExecutionException fromRunInterruptibly =
            assertThrows(ExecutionException.class, () -> taskResult.get(10, SECONDS));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      public void testRemovalNotification_clear_basher() throws InterruptedException {
        // If a clear() happens close to the end of computation, one of two things should happen:
        // - computation ends first: the removal listener is called, and the cache does not contain the
        //   key/value pair
        // - clear() happens first: the removal listener is not called, and the cache contains the pair
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
Back to Top