Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 275 for flush (0.21 sec)

  1. src/main/java/org/codelibs/fess/score/ScoreBooster.java

                        .setScript(new Script(ScriptType.INLINE, scriptLang, scriptCode, params)));
            }
            if (bulkRequestBuilder.numberOfActions() > requestCacheSize) {
                flush();
            }
            return (long) ids.length;
        };
    
        public abstract long process();
    
        protected void enable() {
            final ScoreUpdater scoreUpdater = ComponentUtil.getComponent("scoreUpdater");
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. cmd/admin-bucket-handlers.go

    				return
    			}
    			if len(diffCh) == 0 {
    				// Flush if nothing is queued
    				w.(http.Flusher).Flush()
    			}
    		case <-keepAliveTicker.C:
    			if len(diffCh) > 0 {
    				continue
    			}
    			if _, err := w.Write([]byte(" ")); err != nil {
    				return
    			}
    			w.(http.Flusher).Flush()
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance_gen_test.go

    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	en := msgp.NewWriter(msgp.Nowhere)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.EncodeMsg(en)
    	}
    	en.Flush()
    }
    
    func BenchmarkDecoderebalanceInfo(b *testing.B) {
    	v := rebalanceInfo{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Oct 25 19:36:57 GMT 2022
    - 11K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                this.stream.close();
                this.collector.close();
            }
    
    
            @Override
            public void flush () throws IOException {
                this.stream.flush();
                this.collector.flush();
            }
    
    
            @Override
            public void write ( byte[] b ) throws IOException {
                this.stream.write(b);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 25.5K bytes
    - Viewed (0)
  5. cmd/local-locker_gen_test.go

    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	en := msgp.NewWriter(msgp.Nowhere)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.EncodeMsg(en)
    	}
    	en.Flush()
    }
    
    func BenchmarkDecodelocalLockMap(b *testing.B) {
    	v := localLockMap{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  6. misc/go_android_exec/main.go

    	n := len(data)
    	f.buf.Write(data)
    	// Flush to w until a potential match of exitRe
    	b := f.buf.Bytes()
    	match := f.exitRe.FindIndex(b)
    	if match == nil {
    		// Flush all of the buffer.
    		_, err := f.w.Write(b)
    		f.buf.Reset()
    		if err != nil {
    			return n, err
    		}
    	} else {
    		// Flush up to the beginning of the (potential) match.
    		_, err := f.w.Write(b[:match[0]])
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      // For historical reasons, this does the same as `Flush` at the moment.
      // TODO(b/144055243): This should use `fsync`/`sync`.
      Flush(file, status);
    }
    
    static void Close(const TF_WritableFile* file, TF_Status* status) {
      auto posix_file = static_cast<PosixFile*>(file->plugin_file);
    
      if (fclose(posix_file->handle) != 0)
        TF_SetStatusFromIOError(status, errno, posix_file->filename);
      else
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/FileBackedOutputStream.java

        out.write(b, off, len);
      }
    
      @Override
      public synchronized void close() throws IOException {
        out.close();
      }
    
      @Override
      public synchronized void flush() throws IOException {
        out.flush();
      }
    
      /**
       * Checks if writing {@code len} bytes would go over threshold, and switches to file buffering if
       * so.
       */
      @GuardedBy("this")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(connection.writer.maxDataLength()).isEqualTo(newMaxFrameSize)
      }
    
      /**
       * Webservers may set the initial window size to zero, which is a special case because it means
       * that we have to flush headers immediately before any request body can be sent.
       * https://github.com/square/okhttp/issues/2543
       */
      @Test fun peerSetsZeroFlowControl() {
        peer.setClient(true)
    
        // Write the mocking script.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/compare/sds/writer.go

    		if includeConfigType {
    			s.Name = fmt.Sprintf("secret/%s", s.Name)
    		}
    		fmt.Fprintf(tw, "%s\t%s\t%s\t%t\t%s\t%s\t%s\n",
    			s.Name, s.Type, s.State, s.Valid, s.SerialNumber, s.NotAfter, s.NotBefore)
    	}
    	return tw.Flush()
    }
    
    // printSecretItemsJSON prints secret in JSON format, and dumps the raw certificate data with the output
    func (w *sdsWriter) printSecretItemsJSON(secrets []SecretItem) error {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 21 14:17:23 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top