Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 74 for srcbuf (0.28 sec)

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

    	return valid, err
    }
    
    //sys	putmsg(fd int, clptr *strbuf, dataptr *strbuf, flags int) (err error)
    
    func Putmsg(fd int, cl []byte, data []byte, flags int) (err error) {
    	var clp, datap *strbuf
    	if len(cl) > 0 {
    		clp = &strbuf{
    			Len: int32(len(cl)),
    			Buf: (*int8)(unsafe.Pointer(&cl[0])),
    		}
    	}
    	if len(data) > 0 {
    		datap = &strbuf{
    			Len: int32(len(data)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/AppendableWriter.java

      }
    
      /*
       * Abstract methods from Writer
       */
    
      @Override
      public void write(char[] cbuf, int off, int len) throws IOException {
        checkNotClosed();
        // It turns out that creating a new String is usually as fast, or faster
        // than wrapping cbuf in a light-weight CharSequence.
        target.append(new String(cbuf, off, len));
      }
    
      /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/LineReader.java

    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class LineReader {
      private final Readable readable;
      @CheckForNull private final Reader reader;
      private final CharBuffer cbuf = createBuffer();
      private final char[] buf = cbuf.array();
    
      private final Queue<String> lines = new ArrayDeque<>();
      private final LineBuffer lineBuf =
          new LineBuffer() {
            @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                hlQueries[i] = highlightTagPre + queries[i] + highlightTagPost;
            }
            while (m.find()) {
                segBuf.setLength(0);
                m.appendReplacement(segBuf, StringUtil.EMPTY);
                String segment = segBuf.toString();
                for (int i = 0; i < queries.length; i++) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:58:45 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  5. src/runtime/mprof.go

    	// pcbuf which is usually given to us by our caller. When it's not, we have
    	// to allocate one here. This will only happen for goroutines that were in a
    	// syscall when the goroutine profile started or for goroutines that manage
    	// to execute before we finish iterating over all the goroutines.
    	if pcbuf == nil {
    		pcbuf = makeProfStack()
    	}
    
    	var u unwinder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. src/net/rpc/server.go

    	if err = c.enc.Encode(r); err != nil {
    		if c.encBuf.Flush() == nil {
    			// Gob couldn't encode the header. Should not happen, so if it does,
    			// shut down the connection to signal that the connection is broken.
    			log.Println("rpc: gob error encoding response:", err)
    			c.Close()
    		}
    		return
    	}
    	if err = c.enc.Encode(body); err != nil {
    		if c.encBuf.Flush() == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. maven-xml-impl/src/test/java/org/apache/maven/internal/xml/XmlNodeBuilderTest.java

            String doc = "<?xml version='1.0'?><doc><child>foo</child></doc>";
            StringReader r = new StringReader(doc + doc) {
                @Override
                public int read(char[] cbuf, int off, int len) throws IOException {
                    return super.read(cbuf, off, 1);
                }
            };
            XmlNode node1 = XmlNodeBuilder.build(r);
            XmlNode node2 = XmlNodeBuilder.build(r);
            assertEquals(node1, node2);
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/AppendableWriter.java

      }
    
      /*
       * Abstract methods from Writer
       */
    
      @Override
      public void write(char[] cbuf, int off, int len) throws IOException {
        checkNotClosed();
        // It turns out that creating a new String is usually as fast, or faster
        // than wrapping cbuf in a light-weight CharSequence.
        target.append(new String(cbuf, off, len));
      }
    
      /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

        }
    
        protected LoginCredential processAuthenticationData(final HttpServletRequest request) {
            final StringBuffer urlBuf = request.getRequestURL();
            final String queryStr = request.getQueryString();
            if (queryStr != null) {
                urlBuf.append('?').append(queryStr);
            }
    
            final Map<String, List<String>> params = new HashMap<>();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. src/runtime/traceback.go

    		return 0
    	}
    
    	ctxt := u.g.ptr().cgoCtxt[u.cgoCtxt]
    	u.cgoCtxt--
    	cgoContextPCs(ctxt, pcBuf)
    	for i, pc := range pcBuf {
    		if pc == 0 {
    			return i
    		}
    	}
    	return len(pcBuf)
    }
    
    // tracebackPCs populates pcBuf with the return addresses for each frame from u
    // and returns the number of PCs written to pcBuf. The returned PCs correspond
    // to "logical frames" rather than "physical frames"; that is if A is inlined
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top