Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 105 for writes (0.15 sec)

  1. src/runtime/traceback.go

    	// not want to do the subtraction here. But we started out without
    	// any frame pointer, and when we wanted to add it, we didn't
    	// want to break all the assembly doing direct writes to 8(RSP)
    	// to set the first parameter to a called function.
    	// So we decided to write the FP link *below* the stack pointer
    	// (with R29 = RSP - 8 in Go functions).
    	// This is technically ABI-compatible but not standard.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/elf.go

    	out.Write32(uint32(e.Paddr))
    	out.Write32(uint32(e.Filesz))
    	out.Write32(uint32(e.Memsz))
    	out.Write32(uint32(e.Flags))
    	out.Write32(uint32(e.Align))
    }
    
    func elf64shdr(out *OutBuf, e *ElfShdr) {
    	out.Write32(e.Name)
    	out.Write32(uint32(e.Type))
    	out.Write64(uint64(e.Flags))
    	out.Write64(e.Addr)
    	out.Write64(e.Off)
    	out.Write64(e.Size)
    	out.Write32(e.Link)
    	out.Write32(e.Info)
    	out.Write64(e.Addralign)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    			inlineBuffers[i] = bytes.NewBuffer(buf[:0])
    			defer grid.PutByteBuffer(buf)
    			writers[i] = newStreamingBitrotWriterBuffer(inlineBuffers[i], DefaultBitrotAlgorithm, erasure.ShardSize())
    		}
    	}
    
    	n, erasureErr := erasure.Encode(ctx, data, writers, buffer, writeQuorum)
    	closeBitrotWriters(writers)
    	if erasureErr != nil {
    		return ObjectInfo{}, toObjectErr(erasureErr, minioMetaBucket, key)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        // Verify the peer's settings were read and applied.
        assertThat(connection.peerSettings.headerTableSize).isEqualTo(0)
        val writer = connection.writer
        assertThat(writer.hpackWriter.dynamicTableByteCount).isEqualTo(0)
        assertThat(writer.hpackWriter.headerTableSizeSetting).isEqualTo(0)
      }
    
      @Test fun peerHttp2ClientDisablesPush() {
        val client = false // Peer is client, so we are server.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  5. src/cmd/dist/build.go

    	if err := os.WriteFile(importcfg, buf.Bytes(), 0666); err != nil {
    		fatalf("cannot write importcfg file: %v", err)
    	}
    
    	var archive string
    	// The next loop will compile individual non-Go files.
    	// Hand the Go files to the compiler en masse.
    	// For packages containing assembly, this writes go_asm.h, which
    	// the assembly files will need.
    	pkgName := pkg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  6. src/cmd/cgo/out.go

    			})
    		fmt.Fprint(fgo2, ")\n")
    		fmt.Fprint(fgo2, "}\n")
    	}
    
    	fmt.Fprintf(fgcch, "%s", gccExportHeaderEpilog)
    }
    
    // writeExportHeader writes out the start of the _cgo_export.h file.
    func (p *Package) writeExportHeader(fgcch io.Writer) {
    	fmt.Fprintf(fgcch, "/* Code generated by cmd/cgo; DO NOT EDIT. */\n\n")
    	pkg := *importPath
    	if pkg == "" {
    		pkg = p.PackagePath
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  7. src/encoding/xml/marshal_test.go

    type limitedBytesWriter struct {
    	w      io.Writer
    	remain int // until writes fail
    }
    
    func (lw *limitedBytesWriter) Write(p []byte) (n int, err error) {
    	if lw.remain <= 0 {
    		println("error")
    		return 0, errors.New("write limit hit")
    	}
    	if len(p) > lw.remain {
    		p = p[:lw.remain]
    		n, _ = lw.w.Write(p)
    		lw.remain = 0
    		return n, errors.New("write limit hit")
    	}
    	n, err = lw.w.Write(p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/lib.go

    	}
    	if ctxt.NeedCodeSign() {
    		err := machoCodeSign(ctxt, *flagOutfile)
    		if err != nil {
    			Exitf("%s: code signing failed: %v", os.Args[0], err)
    		}
    	}
    }
    
    // passLongArgsInResponseFile writes the arguments into a file if they
    // are very long.
    func (ctxt *Link) passLongArgsInResponseFile(argv []string, altLinker string) []string {
    	c := 0
    	for _, arg := range argv {
    		c += len(arg)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  9. 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)
  10. guava/src/com/google/common/cache/CacheBuilder.java

     * entries may be counted in {@link Cache#size}, but will never be visible to read or write
     * operations.
     *
     * <p>Certain cache configurations will result in the accrual of periodic maintenance tasks which
     * will be performed during write operations, or during occasional read operations in the absence of
     * writes. The {@link Cache#cleanUp} method of the returned cache will also perform maintenance, but
    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