Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 366 for chunkOf (0.14 sec)

  1. src/internal/bytealg/count_amd64.s

    	// Create mask to ignore overlap between previous 16 byte block
    	// and the next.
    	MOVQ $16,CX
    	SUBQ BX, CX
    	MOVQ $0xFFFF, R10
    	SARQ CL, R10
    	SALQ CL, R10
    
    	// Process the last 16-byte chunk. This chunk may overlap with the
    	// chunks we've already searched so we need to mask part of it.
    	MOVOU	(AX), X1
    	PCMPEQB	X0, X1
    	PMOVMSKB X1, DX
    	// Apply mask
    	ANDQ R10, DX
    	POPCNTL DX, DX
    	ADDQ DX, R12
    end:
    	MOVQ R12, (R8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:54:43 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/StreamByteBufferTest.groovy

            out.write(TEST_STRING_BYTES)
    
            then:
            byteBuffer.readAsString("UTF-8") == TEST_STRING
    
            where:
            // make sure that multi-byte unicode characters get split in different chunks
            [chunkSize, preUseBuffer] << [(1..(TEST_STRING_BYTES.length * 3)).toList() + [100, 1000], [false, true]].combinations()
        }
    
        def "empty buffer to String returns empty String"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 13:06:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/net/http/internal/ascii/print_test.go

    			name: "empty",
    			want: true,
    		},
    		{
    			name: "simple match",
    			a:    "CHUNKED",
    			b:    "chunked",
    			want: true,
    		},
    		{
    			name: "same string",
    			a:    "chunked",
    			b:    "chunked",
    			want: true,
    		},
    		{
    			name: "Unicode Kelvin symbol",
    			a:    "chunKed", // This "K" is 'KELVIN SIGN' (\u212A)
    			b:    "chunked",
    			want: false,
    		},
    	}
    	for _, tt := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 10 23:42:56 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

            bytesOut.write(body, chunkSize)
            bytesOut.writeUtf8("\r\n")
          }
          bytesOut.writeUtf8("0\r\n") // Last chunk. Trailers follow!
          this.body = bytesOut.toMockResponseBody()
        }
    
        /**
         * Sets the response body to the UTF-8 encoded bytes of [body],
         * chunked every [maxChunkSize] bytes.
         */
        fun chunkedBody(
          body: String,
          maxChunkSize: Int,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/fingerprinting_utils.h

    // Returns the hash of the checkpoint .index file, 0 if there is none.
    uint64_t HashCheckpointIndexFile(absl::string_view model_dir);
    
    // Creates a FingerprintDef proto from a chunked SavedModel and the checkpoint
    // meta file (.index) in `export_dir`.
    absl::StatusOr<FingerprintDef> CreateFingerprintDefCpb(
        absl::string_view export_dir, std::string cpb_file);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/net/http/transfer_test.go

    		},
    		{
    			hdr:     Header{"Transfer-Encoding": {"chunked, chunked", "identity", "chunked"}},
    			wantErr: &unsupportedTEError{`too many transfer encodings: ["chunked, chunked" "identity" "chunked"]`},
    		},
    		{
    			hdr:     Header{"Transfer-Encoding": {""}},
    			wantErr: &unsupportedTEError{`unsupported transfer encoding: ""`},
    		},
    		{
    			hdr:     Header{"Transfer-Encoding": {"chunked, identity"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:16:28 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  7. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

          body = null
          webSocketListener = listener
        }
    
      override fun toString(): String = status
    
      companion object {
        private const val CHUNKED_BODY_HEADER = "Transfer-encoding: chunked"
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/net/http/responsewrite_test.go

    		// setting chunked.
    		{
    			Response{
    				StatusCode:       200,
    				ProtoMajor:       1,
    				ProtoMinor:       1,
    				Request:          dummyReq11("GET"),
    				Header:           Header{},
    				Body:             io.NopCloser(strings.NewReader("abcdef")),
    				ContentLength:    -1,
    				TransferEncoding: []string{"chunked"},
    				Close:            false,
    			},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:07:32 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  9. src/internal/bytealg/indexbyte_arm64.s

    	// 0x40100401 = ((1<<0) + (4<<8) + (16<<16) + (64<<24))
    	// Different bytes have different bit masks (i.e: 1, 4, 16, 64)
    	MOVD	$0x40100401, R5
    	VMOV	R1, V0.B16
    	// Work with aligned 32-byte chunks
    	BIC	$0x1f, R0, R3
    	VMOV	R5, V5.S4
    	ANDS	$0x1f, R0, R9
    	AND	$0x1f, R2, R10
    	BEQ	loop
    
    	// Input string is not 32-byte aligned. We calculate the
    	// syndrome value for the aligned 32 bytes block containing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 08 20:52:47 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

        private final byte[] sourceKey;
        private final SrvCopychunk[] chunks;
    
    
        /**
         * @param sourceKey
         * @param chunks
         * 
         */
        public SrvCopychunkCopy ( byte[] sourceKey, SrvCopychunk... chunks ) {
            this.sourceKey = sourceKey;
            this.chunks = chunks;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
Back to top