Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for pcbuf (0.09 sec)

  1. src/runtime/tracestack.go

    	} else if len(pcBuf) > 0 && pcBuf[0] == logicalStackSentinel {
    		// pcBuf contains logical rather than inlined frames, skip has already been
    		// applied, just return it without the sentinel value in pcBuf[0].
    		return copy(dst, pcBuf[1:])
    	}
    
    	var (
    		n          int
    		lastFuncID = abi.FuncIDNormal
    		skip       = pcBuf[0]
    		// skipOrAdd skips or appends retPC to newPCBuf and returns true if more
    		// pcs can be added.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/runtime/export_test.go

    	return persistentalloc(n, 0, &memstats.other_sys)
    }
    
    // FPCallers works like Callers and uses frame pointer unwinding to populate
    // pcBuf with the return addresses of the physical frames on the stack.
    func FPCallers(pcBuf []uintptr) int {
    	return fpTracebackPCs(unsafe.Pointer(getfp()), pcBuf)
    }
    
    const FramePointerEnabled = framepointer_enabled
    
    var (
    	IsPinned      = isPinned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharStreams.java

        @Override
        public void write(int c) {}
    
        @Override
        public void write(char[] cbuf) {
          checkNotNull(cbuf);
        }
    
        @Override
        public void write(char[] cbuf, int off, int len) {
          checkPositionIndexes(off, off + len, cbuf.length);
        }
    
        @Override
        public void write(String str) {
          checkNotNull(str);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharStreams.java

        @Override
        public void write(int c) {}
    
        @Override
        public void write(char[] cbuf) {
          checkNotNull(cbuf);
        }
    
        @Override
        public void write(char[] cbuf, int off, int len) {
          checkPositionIndexes(off, off + len, cbuf.length);
        }
    
        @Override
        public void write(String str) {
          checkNotNull(str);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/internal/syscall/windows/registry/value.go

    	pname, err := syscall.UTF16PtrFromString(name)
    	if err != nil {
    		return 0, 0, err
    	}
    	var pbuf *byte
    	if len(buf) > 0 {
    		pbuf = (*byte)(unsafe.Pointer(&buf[0]))
    	}
    	l := uint32(len(buf))
    	err = syscall.RegQueryValueEx(syscall.Handle(k), pname, nil, &valtype, pbuf, &l)
    	if err != nil {
    		return int(l), valtype, err
    	}
    	return int(l), valtype, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 11K bytes
    - Viewed (0)
  8. 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)
  9. 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. src/runtime/os_windows.go

    func callbackasm1()
    
    var profiletimer uintptr
    
    func profilem(mp *m, thread uintptr) {
    	// Align Context to 16 bytes.
    	var c *context
    	var cbuf [unsafe.Sizeof(*c) + 15]byte
    	c = (*context)(unsafe.Pointer((uintptr(unsafe.Pointer(&cbuf[15]))) &^ 15))
    
    	c.contextflags = _CONTEXT_CONTROL
    	stdcall2(_GetThreadContext, thread, uintptr(unsafe.Pointer(c)))
    
    	gp := gFromSP(mp, c.sp())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top