Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 366 for chunkOf (0.18 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    		if end > len(sources) {
    			end = len(sources)
    		}
    		chunkP, chunkMsrc, chunkSave, chunkCount, chunkErr := concurrentGrab(sources[start:end], fetch, obj, ui, tr)
    		switch {
    		case chunkErr != nil:
    			return nil, nil, false, 0, chunkErr
    		case chunkP == nil:
    			continue
    		case p == nil:
    			p, msrc, save, count = chunkP, chunkMsrc, chunkSave, chunkCount
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/runtime/malloc.go

    //
    //go:nosplit
    func inPersistentAlloc(p uintptr) bool {
    	chunk := atomic.Loaduintptr((*uintptr)(unsafe.Pointer(&persistentChunks)))
    	for chunk != 0 {
    		if p >= chunk && p < chunk+persistentChunkSize {
    			return true
    		}
    		chunk = *(*uintptr)(unsafe.Pointer(chunk))
    	}
    	return false
    }
    
    // linearAlloc is a simple linear allocator that pre-reserves a region
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/kryo/KryoBackedCodecTest.groovy

                    nested.writeSmallInt(12)
                    nested.writeString("chunked")
                }
                encoder.writeString("done")
            }
    
            then:
            decode(bytes) { Decoder decoder ->
                decoder.decodeChunked { Decoder nested ->
                    assert nested.readSmallInt() == 12
                    assert nested.readString() == "chunked"
                }
                assert decoder.readString() == "done"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/BaseEncoding.java

          for (int remaining = len; remaining >= 3; remaining -= 3) {
            int chunk = (bytes[i++] & 0xFF) << 16 | (bytes[i++] & 0xFF) << 8 | bytes[i++] & 0xFF;
            target.append(alphabet.encode(chunk >>> 18));
            target.append(alphabet.encode((chunk >>> 12) & 0x3F));
            target.append(alphabet.encode((chunk >>> 6) & 0x3F));
            target.append(alphabet.encode(chunk & 0x3F));
          }
          if (i < off + len) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 15 16:33:32 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/SerializedPayloadSerializer.java

            Object header = javaSerializer.read(decoder);
            int count = decoder.readSmallInt();
            List<byte[]> chunks = new ArrayList<>(count);
            for (int i = 0; i < count; i++) {
                chunks.add(decoder.readBinary());
            }
            return new SerializedPayload(header, chunks);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinFileBasedDeclarationProvider.kt

                while (!tasks.isEmpty()) {
                    val (chunks, element) = tasks.removeFirst()
                    assert(chunks.isNotEmpty())
    
                    if (element !is KtNamedDeclaration || element.nameAsName != chunks[0]) {
                        continue
                    }
    
                    if (chunks.size == 1) {
                        yieldIfNotNull(element as? KtClassLikeDeclaration)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. src/runtime/malloc_test.go

    	}
    	const N = 16
    	var v [N]unsafe.Pointer
    	for i := range v {
    		v[i] = unsafe.Pointer(new(byte))
    	}
    
    	chunks := make(map[uintptr]bool, N)
    	for _, p := range v {
    		chunks[uintptr(p)&^7] = true
    	}
    
    	if len(chunks) == N {
    		t.Fatal("no bytes allocated within the same 8-byte chunk")
    	}
    }
    
    type obj12 struct {
    	a uint64
    	b uint32
    }
    
    func TestTinyAllocIssue37262(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. src/net/http/readrequest_test.go

    	{
    		"GET  HTTP/1.1\r\n" +
    			"Host: test\r\n\r\n",
    		nil,
    		noBodyStr,
    		noTrailer,
    		`parse "": empty url`,
    	},
    
    	// Tests chunked body with trailer:
    	{
    		"POST / HTTP/1.1\r\n" +
    			"Host: foo.com\r\n" +
    			"Transfer-Encoding: chunked\r\n\r\n" +
    			"3\r\nfoo\r\n" +
    			"3\r\nbar\r\n" +
    			"0\r\n" +
    			"Trailer-Key: Trailer-Value\r\n" +
    			"\r\n",
    		&Request{
    			Method: "POST",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 22:23:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/symbolDeclarationOverridesProvider/AbstractOverriddenDeclarationProviderTest.kt

                        else -> null
                    }
    
                    if (qualifiedName != null) {
                        chunks += qualifiedName
                        continue
                    }
                }
    
                chunks += (parent as? KaNamedSymbol)?.name?.asString() ?: "<no name>"
            }
    
            return chunks.joinToString(".")
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. src/path/match.go

    // getEsc gets a possibly-escaped character from chunk, for a character class.
    func getEsc(chunk string) (r rune, nchunk string, err error) {
    	if len(chunk) == 0 || chunk[0] == '-' || chunk[0] == ']' {
    		err = ErrBadPattern
    		return
    	}
    	if chunk[0] == '\\' {
    		chunk = chunk[1:]
    		if len(chunk) == 0 {
    			err = ErrBadPattern
    			return
    		}
    	}
    	r, n := utf8.DecodeRuneInString(chunk)
    	if r == utf8.RuneError && n == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 23 17:33:57 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top