Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 120 for chunkOf (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/filters/goaway_test.go

    	watchHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		timer := time.NewTicker(time.Second)
    		defer timer.Stop()
    
    		w.Header().Set("Transfer-Encoding", "chunked")
    		w.WriteHeader(200)
    
    		flusher, _ := w.(http.Flusher)
    		flusher.Flush()
    
    		count := 0
    		for {
    			<-timer.C
    			n, err := w.Write(responseBody[count : count+1])
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 12:58:54 UTC 2021
    - 13.9K bytes
    - Viewed (0)
  2. cmd/endpoint-ellipses.go

    	}
    
    	ep.argPatterns = argPatterns
    
    	return ep, nil
    }
    
    // GetAllSets - parses all ellipses input arguments, expands them into
    // corresponding list of endpoints chunked evenly in accordance with a
    // specific set size.
    // For example: {1...64} is divided into 4 sets each of size 16.
    // This applies to even distributed setup syntax as well.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/features/kube_features.go

    	AggregatedDiscoveryEndpoint featuregate.Feature = "AggregatedDiscoveryEndpoint"
    
    	// owner: @smarterclayton
    	// alpha: v1.8
    	// beta: v1.9
    	// stable: 1.29
    	//
    	// Allow API clients to retrieve resource lists in chunks rather than
    	// all at once.
    	APIListChunking featuregate.Feature = "APIListChunking"
    
    	// owner: @MikeSpreitzer @yue9944882
    	// alpha: v1.18
    	// beta: v1.20
    	// stable: 1.29
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:36:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       */
      @CheckForNull
      protected abstract char[] escape(int cp);
    
      /**
       * Returns the escaped form of a given literal string.
       *
       * <p>If you are escaping input in arbitrary successive chunks, then it is not generally safe to
       * use this method. If an input string ends with an unmatched high surrogate character, then this
       * method will throw {@link IllegalArgumentException}. You should ensure your input is valid <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/escape/UnicodeEscaper.java

       */
      @CheckForNull
      protected abstract char[] escape(int cp);
    
      /**
       * Returns the escaped form of a given literal string.
       *
       * <p>If you are escaping input in arbitrary successive chunks, then it is not generally safe to
       * use this method. If an input string ends with an unmatched high surrogate character, then this
       * method will throw {@link IllegalArgumentException}. You should ensure your input is valid <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  6. src/net/http/fcgi/child.go

    		r.header.Set("Date", time.Now().UTC().Format(http.TimeFormat))
    	}
    }
    
    // writeCGIHeader finalizes the header sent to the client and writes it to the output.
    // p is not written by writeHeader, but is the first chunk of the body
    // that will be written. It is sniffed for a Content-Type if none is
    // set explicitly.
    func (r *response) writeCGIHeader(p []byte) {
    	if r.wroteCGIHeader {
    		return
    	}
    	r.wroteCGIHeader = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. src/runtime/pinner.go

    func (s *mspan) refreshPinnerBits() {
    	p := s.getPinnerBits()
    	if p == nil {
    		return
    	}
    
    	hasPins := false
    	bytes := alignUp(s.pinnerBitSize(), 8)
    
    	// Iterate over each 8-byte chunk and check for pins. Note that
    	// newPinnerBits guarantees that pinnerBits will be 8-byte aligned, so we
    	// don't have to worry about edge cases, irrelevant bits will simply be
    	// zero.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

        Crc32cHasher() {
          super(16);
        }
    
        private boolean finished = false;
    
        /*
         * This trick allows us to avoid having separate states for "first four ints" and "all other
         * four int chunks."  The state we want after the first four bytes is
         *
         * crc0 = ~int0
         * crc1 = int1
         * crc2 = int2
         * crc3 = int3
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 21.3K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/nettest/conntest.go

    			t.Errorf("unexpected Read error: %v", err)
    			break
    		}
    	}
    	if err := <-errCh; err != nil {
    		t.Errorf("unexpected Write error: %v", err)
    	}
    }
    
    // chunkedCopy copies from r to w in fixed-width chunks to avoid
    // causing a Write that exceeds the maximum packet size for packet-based
    // connections like "unixpacket".
    // We assume that the maximum packet size is at least 1024.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. src/runtime/os_plan9.go

    		gp.sigcode1 = uintptr(atolwhex(addr))
    		if gp.sigcode1 < 0x1000 {
    			panicmem()
    		}
    		if gp.paniconfault {
    			panicmemAddr(gp.sigcode1)
    		}
    		if inUserArenaChunk(gp.sigcode1) {
    			// We could check that the arena chunk is explicitly set to fault,
    			// but the fact that we faulted on accessing it is enough to prove
    			// that it is.
    			print("accessed data from freed user arena ", hex(gp.sigcode1), "\n")
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top