Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 231 for Flush (0.07 sec)

  1. istioctl/pkg/checkinject/checkinject.go

    		return row
    	})
    	w.AddHeader("WEBHOOK", "REVISION", "INJECTED", "REASON")
    	injectedTotal := 0
    	for _, ws := range was {
    		if ws.Injected {
    			injectedTotal++
    		}
    		w.AddRow(ws)
    	}
    	w.Flush()
    	if injectedTotal > 1 {
    		fmt.Fprintf(writer, "ERROR: multiple webhooks will inject, which can lead to errors")
    	}
    	return nil
    }
    
    type webhookAnalysis struct {
    	Name     string
    	Revision string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

                logger.debug("Set suggest settings. {} {}", settingsIndexName, map.toString());
            }
            try {
                final XContentBuilder builder = JsonXContent.contentBuilder().map(map);
                builder.flush();
                client.prepareUpdate().setIndex(settingsIndexName).setId(settingsId).setDocAsUpsert(true).setDoc(builder).setRetryOnConflict(5)
                        .execute().actionGet(getIndexTimeout());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/BaseEncoding.java

                writtenChars++;
                bitBufferLength -= alphabet.bitsPerChar;
              }
            }
    
            @Override
            public void flush() throws IOException {
              out.flush();
            }
    
            @Override
            public void close() throws IOException {
              if (bitBufferLength > 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      ) {
        for ((name, value) in headers) {
          sink.writeUtf8(name)
          sink.writeUtf8(": ")
          sink.writeUtf8(value)
          sink.writeUtf8("\r\n")
        }
        sink.writeUtf8("\r\n")
        sink.flush()
      }
    
      /** Returns a sink that applies throttling and disconnecting. */
      private fun Sink.withThrottlingAndSocketPolicy(
        policy: MockResponse,
        disconnectHalfway: Boolean,
        expectedByteCount: Long,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

        override fun contentType(): MediaType? = null
    
        override fun writeTo(sink: BufferedSink) {
          for (i in 0 until 50) {
            sink.writeUtf8("abc")
            sink.flush()
            Thread.sleep(100)
          }
          fail("")
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.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
    - 9.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.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
    - 9.6K bytes
    - Viewed (0)
  8. cmd/mrf.go

    			}
    			if n != len(data) {
    				w.CloseWithError(io.ErrShortWrite)
    				return
    			}
    			for item := range m.opCh {
    				err = item.EncodeMsg(mw)
    				if err != nil {
    					break
    				}
    			}
    			mw.Flush()
    			w.CloseWithError(err)
    		}()
    		return r
    	}
    
    	globalLocalDrivesMu.RLock()
    	localDrives := cloneDrives(globalLocalDrivesMap)
    	globalLocalDrivesMu.RUnlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cache.kt

      @Throws(IOException::class)
      fun size(): Long = cache.size()
    
      /** Max size of the cache (in bytes). */
      fun maxSize(): Long = cache.maxSize
    
      @Throws(IOException::class)
      override fun flush() {
        cache.flush()
      }
    
      @Throws(IOException::class)
      override fun close() {
        cache.close()
      }
    
      @get:JvmName("directory")
      val directory: File
        get() = cache.directory.toFile()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. cmd/bitrot-streaming.go

    	}
    	if n != len(p) {
    		err = io.ErrShortWrite
    		b.closeWithErr(err)
    	}
    	return n, err
    }
    
    func (b *streamingBitrotWriter) Close() error {
    	// Close the underlying writer.
    	// This will also flush the ring buffer if used.
    	err := b.iow.Close()
    
    	// Wait for all data to be written before returning else it causes race conditions.
    	// Race condition is because of io.PipeWriter implementation. i.e consider the following
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 12:20:54 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top