Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 87 for srcbuf (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/os/readfrom_linux_test.go

    	dstoff, err := dst.Seek(0, io.SeekCurrent)
    	if err != nil {
    		t.Fatal(err)
    	}
    	srcoff, err := src.Seek(0, io.SeekCurrent)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if dstoff != srcoff {
    		t.Errorf("offsets differ: dstoff = %d, srcoff = %d", dstoff, srcoff)
    	}
    	if dstoff != int64(len(data)) {
    		t.Errorf("dstoff = %d, want %d", dstoff, len(data))
    	}
    	if n != int64(len(data)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. 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)
  8. src/internal/poll/fd_windows_test.go

    	ConnectionTimeMs  uint64
    	TimestampsEnabled bool
    	RttUs             uint32
    	MinRttUs          uint32
    	BytesInFlight     uint32
    	Cwnd              uint32
    	SndWnd            uint32
    	RcvWnd            uint32
    	RcvBuf            uint32
    	BytesOut          uint64
    	BytesIn           uint64
    	BytesReordered    uint32
    	BytesRetrans      uint32
    	FastRetrans       uint32
    	DupAcksIn         uint32
    	TimeoutEpisodes   uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 08:33:36 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top