Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 84 for flush (0.14 sec)

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

        checkNotNull(charSequence);
    
        Closer closer = Closer.create();
        try {
          Writer out = closer.register(openStream());
          out.append(charSequence);
          out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                if (response.getHttpStatusCode() == 200) {
                    logger.info("Flushed config files.");
                } else {
                    logger.warn("Failed to flush config files.");
                }
            } catch (final Exception e) {
                logger.warn("Failed to flush config files.", e);
            }
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java

            }
    
            CacheRecord record = new CacheRecord(extensionRealm, extensionDescriptor, artifacts);
    
            cache.put(key, record);
    
            return record;
        }
    
        public void flush() {
            for (CacheRecord record : cache.values()) {
                ClassRealm realm = record.getRealm();
                try {
                    realm.getWorld().disposeRealm(realm.getId());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/CurlRequest.java

                            writer.flush();
                        }
                    } else if (bodyStream != null) {
                        logger.fine(() -> ">>> <binary>");
                        connection.setDoOutput(true);
                        try (final OutputStream out = connection.getOutputStream()) {
                            IOUtils.copy(bodyStream, out);
                            out.flush();
                        }
                    }
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Sun Feb 12 12:21:25 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Funnels.java

       * funnel} an object to a {@code PrimitiveSink} if there is already a way to write the contents of
       * the object to an {@code OutputStream}.
       *
       * <p>The {@code close} and {@code flush} methods of the returned {@code OutputStream} do nothing,
       * and no method throws {@code IOException}.
       *
       * @since 13.0
       */
      public static OutputStream asOutputStream(PrimitiveSink sink) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/TestLogHandler.java

      @Override
      public synchronized void publish(@Nullable LogRecord record) {
        if (record != null) {
          list.add(record);
        }
      }
    
      @Override
      public void flush() {}
    
      @Override
      public void close() {}
    
      public synchronized void clear() {
        list.clear();
      }
    
      /** Returns a snapshot of the logged records. */
      /*
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

      @Override
      public synchronized void publish(@Nullable LogRecord record) {
        if (record != null) {
          list.add(record);
        }
      }
    
      @Override
      public void flush() {}
    
      @Override
      public void close() {}
    
      public synchronized void clear() {
        list.clear();
      }
    
      /** Returns a snapshot of the logged records. */
      /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                    }
                }
                return null;
            }
    
            @Override
            public void close() {
                try {
                    writer.flush();
                } catch (final IOException e) {
                    // ignore
                }
                CloseableUtil.closeQuietly(writer);
    
                if (isCommit) {
                    try {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

            assertUniqueKey(key);
    
            CacheRecord record = new CacheRecord(exception);
    
            cache.put(key, record);
    
            return record;
        }
    
        public void flush() {
            cache.clear();
        }
    
        protected static int pluginHashCode(Plugin plugin) {
            return CacheUtils.pluginHashCode(plugin);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                    result.getArtifacts(),
                    result.getManagedVersions(),
                    result.getResolutionRepositories());
    
            cache.put(cacheKey, cacheRecord);
        }
    
        public void flush() {
            cache.clear();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 11.8K bytes
    - Viewed (0)
Back to top