Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for content_es (0.14 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/webhtml.go

    	}
    	loadJS := func(fname string) string {
    		return `<script>` + "\n" + loadFile(fname) + `</script>` + "\n"
    	}
    
    	// Define a named template with specified contents.
    	def := func(name, contents string) {
    		sub := template.New(name)
    		template.Must(sub.Parse(contents))
    		template.Must(templates.AddParseTree(name, sub.Tree))
    	}
    
    	// Embedded files.
    	def("css", loadCSS("html/common.css"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/crypto/x509/name_constraints_test.go

    	appendConstraint := func(contents []byte, tag uint8) []byte {
    		contents = append(contents, tag|32 /* constructed */ |0x80 /* context-specific */)
    		contents = append(contents, byte(4+len(constraint)) /* length */)
    		contents = append(contents, 0x30 /* SEQUENCE */)
    		contents = append(contents, byte(2+len(constraint)) /* length */)
    		contents = append(contents, byte(typeNum) /* GeneralName type */)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. src/internal/sysinfo/cpuinfo_linux.go

    	if err != nil && err != io.ErrUnexpectedEOF {
    		return err
    	}
    
    	return nil
    }
    
    func osCPUInfoName() string {
    	modelName := ""
    	cpuMHz := ""
    
    	// The 512-byte buffer is enough to hold the contents of CPU0
    	buf := make([]byte, 512)
    	err := readLinuxProcCPUInfo(buf)
    	if err != nil {
    		return ""
    	}
    
    	scanner := bufio.NewScanner(bytes.NewReader(buf))
    	for scanner.Scan() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:42:42 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. src/cmd/gofmt/gofmt.go

    	st.exitCode = 2
    }
    
    func (r *reporter) ExitCode() int {
    	return r.getState().exitCode
    }
    
    // If info == nil, we are formatting stdin instead of a file.
    // If in == nil, the source is the contents of the file with the given filename.
    func processFile(filename string, info fs.FileInfo, in io.Reader, r *reporter) error {
    	src, err := readFile(filename, info, in)
    	if err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. src/bytes/buffer_test.go

    	}
    
    	if string(bytes) != s {
    		t.Errorf("%s: string(buf.Bytes()) == %q, s == %q", testname, string(bytes), s)
    	}
    }
    
    // Fill buf through n writes of string fus.
    // The initial contents of buf corresponds to the string s;
    // the result is the final contents of buf returned as a string.
    func fillString(t *testing.T, testname string, buf *Buffer, s string, n int, fus string) string {
    	check(t, testname+" (fill 1)", buf, s)
    	for ; n > 0; n-- {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:31:36 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. src/time/zoneinfo_read.go

    	for i, z := range zones {
    		if z.name == name && z.offset == offset && z.isDST == isDST {
    			return i
    		}
    	}
    	return -1
    }
    
    // loadTzinfoFromDirOrZip returns the contents of the file with the given name
    // in dir. dir can either be an uncompressed zip file, or a directory.
    func loadTzinfoFromDirOrZip(dir, name string) ([]byte, error) {
    	if len(dir) > 4 && dir[len(dir)-4:] == ".zip" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. src/crypto/aes/ctr_s390x.go

    package aes
    
    import (
    	"crypto/cipher"
    	"crypto/internal/alias"
    	"internal/byteorder"
    )
    
    // Assert that aesCipherAsm implements the ctrAble interface.
    var _ ctrAble = (*aesCipherAsm)(nil)
    
    // xorBytes xors the contents of a and b and places the resulting values into
    // dst. If a and b are not the same length then the number of bytes processed
    // will be equal to the length of shorter of the two. Returns the number
    // of bytes processed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/macho_combine_dwarf.go

    			return nil, nil, err
    		}
    
    		compressed, contents, err := machoCompressSection(data)
    		if err != nil {
    			return nil, nil, err
    		}
    
    		newSec := *sect
    		newSec.Offset = uint32(dwarfseg.Offset) + uint32(buf.Len())
    		newSec.Addr = dwarfseg.Addr + uint64(buf.Len())
    		if compressed {
    			newSec.Name = "__z" + sect.Name[2:]
    			newSec.Size = uint64(len(contents))
    		}
    		sects = append(sects, &newSec)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_test.go

    	}
    
    	return flows, nil
    }
    
    // tempFile creates a temp file containing contents and returns its path.
    func tempFile(contents string) string {
    	file, err := os.CreateTemp("", "go-tls-test")
    	if err != nil {
    		panic("failed to create temp file: " + err.Error())
    	}
    	path := file.Name()
    	file.WriteString(contents)
    	file.Close()
    	return path
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  10. src/net/http/fs.go

    // includes it in a Last-Modified header in the response. If the
    // request includes an If-Modified-Since header, ServeContent uses
    // modtime to decide whether the content needs to be sent at all.
    //
    // The content's Seek method must work: ServeContent uses
    // a seek to the end of the content to determine its size.
    //
    // If the caller has set w's ETag header formatted per RFC 7232, section 2.3,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
Back to top