Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 231 for Flush (0.06 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                final byte[] buf = new byte[1024];
                int length;
                while (-1 < (length = in.read(buf))) {
                    out.write(buf, 0, length);
                    out.flush();
                }
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * @return the resolveSids
         */
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

             * InterruptibleChannel and JavaLangAccess.blockedOn(Thread, Interruptible), it isn't
             * predictable what work might be done. (e.g., close a file and flush buffers to disk). To
             * protect ourselves from this, we park ourselves and tell our interrupter that we did so.
             */
            if (state == PARKED || compareAndSet(state, PARKED)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

                  if (parameters != null) {
                    clientEventsList.add(parameters.first().toString())
                  }
                }
              }
            }
          }
    
          override fun flush() {
          }
    
          override fun close() {
          }
        }.apply {
          level = Level.FINEST
        }
    
      private fun applyLogger(fn: Logger.() -> Unit) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Collection<Integer> values = map.values();
    
        ByteArrayOutputStream bytes = new ByteArrayOutputStream();
        ObjectOutputStream oos = new ObjectOutputStream(bytes);
        oos.writeObject(map);
        oos.flush();
    
        int mapSize = bytes.size();
        oos.writeObject(keySet);
        oos.writeObject(values);
        oos.close();
    
        int finalSize = bytes.size();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  5. istioctl/pkg/admin/istiodconfig.go

    		_, _ = fmt.Fprintln(w, "ACTIVE SCOPE\tDESCRIPTION\tLOG LEVEL")
    		for _, sll := range resultScopeLogLevel {
    			_, _ = fmt.Fprintf(w, "%s\t%s\t%s\n", sll.ScopeName, sll.Description, sll.LogLevel)
    		}
    		return w.Flush()
    	case "json", "yaml":
    		outputBytes, err := json.MarshalIndent(&resultScopeLogLevel, "", "  ")
    		outputBytes = append(outputBytes, []byte("\n")...)
    		if err != nil {
    			return err
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

                        } else {
                            list.add(value.toString());
                        }
                    }
                });
                csvWriter.flush();
            } catch (final IOException e) {
                logger.warn("Failed to write a crawling session info.", e);
            }
        }
    
        public void deleteBefore(final long date) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                    }
                }
                return null;
            }
    
            @Override
            public void close() {
                try {
                    writer.flush();
                } catch (final IOException e) {
                    // ignore
                }
                CloseableUtil.closeQuietly(writer);
    
                if (isCommit) {
                    try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

        private static OutputStream getXContentOutputStream(final Map<String, Object> firstLineMap) throws IOException {
            try (XContentBuilder builder = JsonXContent.contentBuilder().map(firstLineMap)) {
                builder.flush();
                return builder.getOutputStream();
            }
        }
    
        public static ReadingConverter createDefaultReadingConverter(final Client client, final SuggestSettings settings) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

                            list.add(StringUtil.EMPTY);
                        } else {
                            list.add(value.toString());
                        }
                    }
                });
    
                csvWriter.flush();
            } catch (final IOException e) {
                logger.warn("Failed to write a sugget elevate word.", e);
            }
        }
    
        static String getValue(final List<String> list, final int index) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. cni/pkg/iptables/iptables.go

    		{"-t", iptablesconstants.RAW, "-D", iptablesconstants.OUTPUT, "-j", ChainInpodOutput},
    	}
    
    	// these sometimes fail due to "Device or resource busy"
    	optionalDeleteCmds := [][]string{
    		// flush-then-delete our created chains
    		{"-t", iptablesconstants.MANGLE, "-F", ChainInpodPrerouting},
    		{"-t", iptablesconstants.MANGLE, "-F", ChainInpodOutput},
    		{"-t", iptablesconstants.NAT, "-F", ChainInpodPrerouting},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top