Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 366 for chunkOf (0.16 sec)

  1. src/image/png/writer.go

    	}
    	e.writeChunk(e.tmp[:3*len(p)], "PLTE")
    	if last != -1 {
    		e.writeChunk(e.tmp[3*256:3*256+1+last], "tRNS")
    	}
    }
    
    // An encoder is an io.Writer that satisfies writes by writing PNG IDAT chunks,
    // including an 8-byte header and 4-byte CRC checksum per Write call. Such calls
    // should be relatively infrequent, since writeIDATs uses a [bufio.Writer].
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. src/strings/strings.go

    			chunkMax = len(s)
    		}
    	}
    
    	var b Builder
    	b.Grow(n)
    	b.WriteString(s)
    	for b.Len() < n {
    		chunk := n - b.Len()
    		if chunk > b.Len() {
    			chunk = b.Len()
    		}
    		if chunk > chunkMax {
    			chunk = chunkMax
    		}
    		b.WriteString(b.String()[:chunk])
    	}
    	return b.String()
    }
    
    // ToUpper returns s with all Unicode letters mapped to their upper case.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

              contentLength = header.substring(15).trim().toLong()
            }
            if (lowercaseHeader.startsWith("transfer-encoding:") &&
              lowercaseHeader.substring(18).trim() == "chunked"
            ) {
              chunked = true
            }
          }
    
          val peek = dispatcher.peek()
          for (response in peek.informationalResponses) {
            writeHttpResponse(socket, sink, response)
          }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  4. src/crypto/sha1/sha1block.go

    // It's used by sha1block_generic.go and tests.
    func blockGeneric(dig *digest, p []byte) {
    	var w [16]uint32
    
    	h0, h1, h2, h3, h4 := dig.h[0], dig.h[1], dig.h[2], dig.h[3], dig.h[4]
    	for len(p) >= chunk {
    		// Can interlace the computation of w with the
    		// rounds below if needed for speed.
    		for i := 0; i < 16; i++ {
    			j := i * 4
    			w[i] = uint32(p[j])<<24 | uint32(p[j+1])<<16 | uint32(p[j+2])<<8 | uint32(p[j+3])
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:27:16 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/constants.h

    // SavedModel proto filename prefix.
    inline constexpr char kSavedModelFilenamePrefix[] = "saved_model";
    // SavedModel proto filename.
    inline constexpr char kSavedModelFilenamePb[] = "saved_model.pb";
    
    // SavedModel chunked proto filename.
    inline constexpr char kSavedModelFilenameCpb[] = "saved_model.cpb";
    
    // SavedModel text format proto filename.
    inline constexpr char kSavedModelFilenamePbTxt[] = "saved_model.pbtxt";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 23:02:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/runtime/arena_test.go

    		finalized.Store(true)
    	})
    
    	// Write three chunks worth of pointer data. Three gives us a
    	// high likelihood that when we write 2 later, we'll get the behavior
    	// we want.
    	a := NewUserArena()
    	for i := 0; i < int(UserArenaChunkBytes/goarch.PtrSize*3); i++ {
    		var x any
    		x = (*smallPointer)(nil)
    		a.New(&x)
    	}
    	a.Free()
    
    	// Recycle the arena chunks.
    	GC()
    	GC()
    
    	a = NewUserArena()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtunnel_test.go

    		// write one chunk at a time
    		for i, chunk := range strings.Split(responseHeadersAndBody, "split") {
    			if i > 0 {
    				n, err := hic.Write([]byte("split"))
    				require.Equal(t, n, len("split"))
    				require.NoError(t, err)
    			}
    			n, err := hic.Write([]byte(chunk))
    			require.Equal(t, n, len(chunk))
    			require.NoError(t, err)
    		}
    		assert.True(t, hic.initialized)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 02:21:50 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__networking.k8s.io__v1_openapi.json

                "in": "query",
                "name": "limit",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 324.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/BuildOperation.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.operations;
    
    /**
     * Represents some chunk of work.
     */
    public interface BuildOperation {
        /**
         * Returns a description of the build operation for visualization purposes.
         */
        BuildOperationDescriptor.Builder description();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 14:19:43 UTC 2023
    - 884 bytes
    - Viewed (0)
  10. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertLogMatch(Regex("""Transfer-encoding: chunked"""))
          .assertLogEqual("<-- END HTTP (streaming)")
          .assertNoMoreLogs()
        applicationLogs
          .assertLogEqual("--> GET $url")
          .assertLogEqual("--> END GET")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)"""))
          .assertLogEqual("Content-Type: text/event-stream")
          .assertLogMatch(Regex("""Transfer-encoding: chunked"""))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
Back to top