Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 186 for gwrite (0.21 sec)

  1. src/debug/elf/file_test.go

    		// Write section [65296].
    		buf.Write([]byte{0})
    		buf.Write([]byte("y.c\x00"))
    		for i := 1; i <= 65288; i++ {
    			// var_0001 ~ var_ff08
    			name := fmt.Sprintf("var_%04x", i)
    			buf.Write([]byte(name))
    			buf.Write([]byte{0})
    		}
    
    		// Write section [65297].
    		buf.Write([]byte{0})
    		buf.Write([]byte(".symtab\x00"))
    		buf.Write([]byte(".strtab\x00"))
    		buf.Write([]byte(".shstrtab\x00"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/proxier.go

    	// NOTE: NoFlushTables is used so we don't flush non-kubernetes chains in the table.
    	proxier.iptablesData.Reset()
    	proxier.iptablesData.Write(proxier.natChains.Bytes())
    	proxier.iptablesData.Write(proxier.natRules.Bytes())
    	proxier.iptablesData.Write(proxier.filterChains.Bytes())
    	proxier.iptablesData.Write(proxier.filterRules.Bytes())
    
    	proxier.logger.V(5).Info(
    		"Restoring iptables", "natChains", proxier.natChains,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/xcoff.go

    	return off
    }
    
    // write writes string table t into the output file.
    func (t *xcoffStringTable) write(out *OutBuf) {
    	out.Write32(uint32(t.size()))
    	for _, s := range t.strings {
    		out.WriteString(s)
    		out.Write8(0)
    	}
    }
    
    // write writes XCOFF section sect into the output file.
    func (sect *XcoffScnHdr64) write(ctxt *Link) {
    	binary.Write(ctxt.Out, binary.BigEndian, sect)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  4. src/crypto/tls/conn.go

    	}
    
    	if transcript != nil {
    		transcript.Write(data)
    	}
    
    	return m, nil
    }
    
    var (
    	errShutdown = errors.New("tls: protocol is shutdown")
    )
    
    // Write writes data to the connection.
    //
    // As Write calls [Conn.Handshake], in order to prevent indefinite blocking a deadline
    // must be set for both [Conn.Read] and Write before Write is called when the handshake
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_client_test.go

    var brokenConnErr = errors.New("too many writes to brokenConn")
    
    func (b *brokenConn) Write(data []byte) (int, error) {
    	if b.numWrites >= b.breakAfter {
    		return 0, brokenConnErr
    	}
    
    	b.numWrites++
    	return b.Conn.Write(data)
    }
    
    func TestFailedWrite(t *testing.T) {
    	// Test that a write error during the handshake is returned.
    	for _, breakAfter := range []int{0, 1} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  6. src/crypto/tls/tls_test.go

    	bps int
    }
    
    func (c *slowConn) Write(p []byte) (int, error) {
    	if c.bps == 0 {
    		panic("too slow")
    	}
    	t0 := time.Now()
    	wrote := 0
    	for wrote < len(p) {
    		time.Sleep(100 * time.Microsecond)
    		allowed := int(time.Since(t0).Seconds()*float64(c.bps)) / 8
    		if allowed > len(p) {
    			allowed = len(p)
    		}
    		if wrote < allowed {
    			n, err := c.Conn.Write(p[wrote:allowed])
    			wrote += n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  7. src/runtime/mgc.go

    //    (from _GCoff), enabling the write barrier, enabling mutator
    //    assists, and enqueueing root mark jobs. No objects may be
    //    scanned until all Ps have enabled the write barrier, which is
    //    accomplished using STW.
    //
    //    b. Start the world. From this point, GC work is done by mark
    //    workers started by the scheduler and by assists performed as
    //    part of allocation. The write barrier shades both the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/elf.go

    	sh := elfshname(".MIPS.abiflags")
    	ctxt.Out.SeekSet(int64(sh.Off))
    	ctxt.Out.Write16(0) // version
    	ctxt.Out.Write8(32) // isaLevel
    	ctxt.Out.Write8(1)  // isaRev
    	ctxt.Out.Write8(1)  // gprSize
    	ctxt.Out.Write8(1)  // cpr1Size
    	ctxt.Out.Write8(0)  // cpr2Size
    	if buildcfg.GOMIPS == "softfloat" {
    		ctxt.Out.Write8(MIPS_FPABI_SOFT) // fpAbi
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  9. src/net/http/request.go

    // hasn't been set to "identity", Write adds "Transfer-Encoding:
    // chunked" to the header. Body is closed after it is sent.
    func (r *Request) Write(w io.Writer) error {
    	return r.write(w, false, nil, nil)
    }
    
    // WriteProxy is like [Request.Write] but writes the request in the form
    // expected by an HTTP proxy. In particular, [Request.WriteProxy] writes the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

       * segments, each governed by its own write lock. The segment lock is taken once for each explicit
       * write, and twice for each cache loading computation (once prior to loading the new value, and
       * once after loading completes). Much internal cache management is performed at the segment
       * granularity. For example, access queues and write queues are kept per segment when they are
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 51.3K bytes
    - Viewed (0)
Back to top