Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for ctrbuf (0.12 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go

    	I_STR     = 0x5308
    	I_POP     = 0x5303
    	I_PUSH    = 0x5302
    	I_LINK    = 0x530c
    	I_UNLINK  = 0x530d
    	I_PLINK   = 0x5316
    	I_PUNLINK = 0x5317
    
    	IF_UNITSEL = -0x7ffb8cca
    )
    
    type strbuf struct {
    	Maxlen int32
    	Len    int32
    	Buf    *int8
    }
    
    type Strioctl struct {
    	Cmd    int32
    	Timout int32
    	Len    int32
    	Dp     *int8
    }
    
    type Lifreq struct {
    	Name   [32]int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerConsoleInputEndUserIntegrationTest.groovy

                def stdout = new java.io.Writer() {
                    def buffer = new StringBuilder()
                    def written = false
    
                    void write(char[] cbuf, int off, int len) {
                        buffer.append(cbuf, off, len)
                        if (!written && buffer.toString().contains('$PROMPT')) {
                            written = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/runtime/mgcstack.go

    	freeBuf *stackWorkBuf // keep around one free buffer for allocation hysteresis
    
    	// cbuf contains conservative pointers to stack objects. If
    	// all pointers to a stack object are obtained via
    	// conservative scanning, then the stack object may be dead
    	// and may contain dead pointers, so it must be scanned
    	// defensively.
    	cbuf *stackWorkBuf
    
    	// list of stack objects
    	// Objects are in increasing address order.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 21:06:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. src/internal/coverage/encodecounter/encode.go

    	//   all counters, or possibly mmap the file and do the write
    	//   implicitly.
    	ctrb := make([]byte, 4)
    	wrval := func(val uint32) error {
    		var buf []byte
    		var towr int
    		if cfw.cflavor == coverage.CtrRaw {
    			binary.LittleEndian.PutUint32(ctrb, val)
    			buf = ctrb
    			towr = 4
    		} else if cfw.cflavor == coverage.CtrULeb128 {
    			cfw.tmp = cfw.tmp[:0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            this.in = new Reader() {
                Reader delegate = null;
    
                @Override
                public int read(char[] cbuf, int off, int len) throws IOException {
                    if (delegate == null) {
                        delegate = transform(original);
                    }
                    return delegate.read(cbuf, off, len);
                }
    
                @Override
                public void close() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/os/pipe_test.go

    		if err := w.Close(); err != nil {
    			t.Errorf("error closing writer: %v", err)
    		}
    	}()
    
    	rbuf := bufio.NewReader(r)
    	for i := 0; i < 3; i++ {
    		write <- i
    		b, err := rbuf.ReadBytes('\n')
    		if err != nil {
    			t.Fatal(err)
    		}
    		t.Logf("%s\n", bytes.TrimSpace(b))
    	}
    
    	close(write)
    	b, err := rbuf.ReadBytes('\n')
    	if err != io.EOF || len(b) != 0 {
    		t.Errorf(`ReadBytes: %q, %v; want "", io.EOF`, b, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

        private val charset: Charset,
      ) : Reader() {
        private var closed: Boolean = false
        private var delegate: Reader? = null
    
        @Throws(IOException::class)
        override fun read(
          cbuf: CharArray,
          off: Int,
          len: Int,
        ): Int {
          if (closed) throw IOException("Stream closed")
    
          val finalDelegate =
            delegate ?: InputStreamReader(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. src/net/http/response_test.go

    		}
    
    		rbuf := make([]byte, 2500)
    		n, err := io.ReadFull(resp.Body, rbuf)
    		checkErr(err, "2500 byte ReadFull")
    		if n != 2500 {
    			fatalf("ReadFull only read %d bytes", n)
    		}
    		if test.compressed == false && !bytes.Equal(bytes.Repeat([]byte{'x'}, 2500), rbuf) {
    			fatalf("ReadFull didn't read 2500 'x'; got %q", string(rbuf))
    		}
    		resp.Body.Close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 19:01:29 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

       * characters that it could read in read(char[], int, int).
       */
      private static Reader newNonBufferFillingReader(Reader reader) {
        return new FilterReader(reader) {
          @Override
          public int read(char[] cbuf, int off, int len) throws IOException {
            // if a buffer isn't being cleared correctly, this method will eventually start being called
            // with a len of 0 forever
            if (len <= 0) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/CharStreamsTest.java

       * characters that it could read in read(char[], int, int).
       */
      private static Reader newNonBufferFillingReader(Reader reader) {
        return new FilterReader(reader) {
          @Override
          public int read(char[] cbuf, int off, int len) throws IOException {
            // if a buffer isn't being cleared correctly, this method will eventually start being called
            // with a len of 0 forever
            if (len <= 0) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top