Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,659 for chunck (0.33 sec)

  1. src/runtime/mfixalloc.go

    		if f.zero {
    			memclrNoHeapPointers(v, f.size)
    		}
    		return v
    	}
    	if uintptr(f.nchunk) < f.size {
    		f.chunk = uintptr(persistentalloc(uintptr(f.nalloc), 0, f.stat))
    		f.nchunk = f.nalloc
    	}
    
    	v := unsafe.Pointer(f.chunk)
    	if f.first != nil {
    		f.first(f.arg, v)
    	}
    	f.chunk = f.chunk + f.size
    	f.nchunk -= uint32(f.size)
    	f.inuse += f.size
    	return v
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 24 20:28:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. 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)
  3. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        ByteSource source = out.asByteSource();
        int chunk1 = Math.min(dataSize, fileThreshold);
        int chunk2 = dataSize - chunk1;
    
        // Write just enough to not trip the threshold
        if (chunk1 > 0) {
          write(out, data, 0, chunk1, singleByte);
          assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source));
        }
        File file = out.getFile();
        assertNull(file);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. tests/util/leak/check.go

    	for _, g := range leaked {
    		errString.WriteString(fmt.Sprintf("Leaked goroutine: %v\n", g.stack))
    	}
    	return errors.New(errString.String())
    }
    
    // Check adds a check to a test to ensure there are no leaked goroutines
    // To use, simply call leak.Check(t) at the start of a test; Do not call it in defer.
    // It is recommended to call this as the first step, as Cleanup is called in LIFO order; this ensures any
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 10:22:38 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/build-organization/gradle-plugin/tests/check.sample.conf

    commands: [{
        executable: gradle
        args: check
        expected-output-file: check.out
        allow-additional-output: true
        allow-disordered-output: true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 159 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/build-organization/cross-project-output-sharing/tests/check.sample.conf

    commands: [{
        executable: gradle
        args: showFile
        expected-output-file: check.out
        allow-additional-output: true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 128 bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go

    	a.hi = a.hi >> 2
    	return a
    }
    
    // updateGeneric absorbs msg into the state.h accumulator. For each chunk m of
    // 128 bits of message, it computes
    //
    //	h₊ = (h + m) * r  mod  2¹³⁰ - 5
    //
    // If the msg length is not a multiple of TagSize, it assumes the last
    // incomplete chunk is the final one.
    func updateGeneric(state *macState, msg []byte) {
    	h0, h1, h2 := state.h[0], state.h[1], state.h[2]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/tests/check.sample.conf

    commands: [{
        executable: gradle
        args: check
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 55 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/build-organization/sharing-convention-plugins-with-build-logic/tests/check.sample.conf

    commands: [{
        executable: gradle
        args: check
    }, {
        executable: gradle
        args: greet -q
        expected-output-file: greet.out
    }, {
        executable: gradle
        args: run -q
        expected-output-file: run.out
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 217 bytes
    - Viewed (0)
  10. src/net/http/internal/chunked_test.go

    	chunk := []byte("1;")
    	for i := 0; i < 100; i++ {
    		chunk = append(chunk, 'a') // chunk extension
    	}
    	chunk = append(chunk, "\r\nX\r\n"...)
    	const bodylen = 1 << 20
    	r := NewChunkedReader(&funcReader{f: func(i int) ([]byte, error) {
    		if i < bodylen {
    			return chunk, nil
    		}
    		return []byte("0\r\n"), nil
    	}})
    	_, err := io.ReadAll(r)
    	if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 20:45:19 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top