Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 117 for content_es (0.11 sec)

  1. 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)
  2. 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)
  3. src/net/http/transfer.go

    			}
    		}
    
    		// deduplicate Content-Length
    		header.Del("Content-Length")
    		header.Add("Content-Length", first)
    
    		contentLens = header["Content-Length"]
    	}
    
    	// Reject requests with invalid Content-Length headers.
    	if len(contentLens) > 0 {
    		n, err = parseContentLength(contentLens)
    		if err != nil {
    			return -1, err
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modfetch/fetch.go

    	overwrite bool                                   // if true, overwrite go.sum without incorporating its contents
    	enabled   bool                                   // whether to use go.sum at all
    }
    
    type modSumStatus struct {
    	used, dirty bool
    }
    
    // Reset resets globals in the modfetch package, so previous loads don't affect
    // contents of go.sum files.
    func Reset() {
    	GoSumFile = ""
    	WorkspaceGoSumFiles = nil
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/vendor/golang.org/x/telemetry/internal/config/config.go

    import (
    	"encoding/json"
    	"os"
    	"strings"
    
    	"golang.org/x/telemetry/internal/telemetry"
    )
    
    // Config is a wrapper around telemetry.UploadConfig that provides some
    // convenience methods for checking the contents of a report.
    type Config struct {
    	*telemetry.UploadConfig
    	program         map[string]bool
    	goos            map[string]bool
    	goarch          map[string]bool
    	goversion       map[string]bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/embed/embed.go

    //
    // Go source files that import "embed" can use the //go:embed directive
    // to initialize a variable of type string, []byte, or [FS] with the contents of
    // files read from the package directory or subdirectories at compile time.
    //
    // For example, here are three ways to embed a file named hello.txt
    // and then print its contents at run time.
    //
    // Embedding one file into a string:
    //
    //	import _ "embed"
    //
    //	//go:embed hello.txt
    //	var s string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/README

    	expected data.
    	The command succeeds if the file contents are identical.
    	File1 can be 'stdout' or 'stderr' to compare the stdout or
    	stderr buffer from the most recent command.
    
    cmpenv [-q] file1 file2
    	compare files for differences, with environment expansion
    
    	By convention, file1 is the actual data and file2 is the
    	expected data.
    	The command succeeds if the file contents are identical
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. src/crypto/aes/aes_gcm.go

    func (g *gcmAsm) NonceSize() int {
    	return g.nonceSize
    }
    
    func (g *gcmAsm) Overhead() int {
    	return g.tagSize
    }
    
    // sliceForAppend takes a slice and a requested number of bytes. It returns a
    // slice with the contents of the given slice followed by that many bytes and a
    // second slice that aliases into it and contains only the extra bytes. If the
    // original slice has sufficient capacity then no allocation is performed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/crypto/cipher/gcm.go

    	//
    	// To reuse ciphertext's storage for the decrypted output, use ciphertext[:0]
    	// as dst. Otherwise, the remaining capacity of dst must not overlap plaintext.
    	//
    	// Even if the function fails, the contents of dst, up to its capacity,
    	// may be overwritten.
    	Open(dst, nonce, ciphertext, additionalData []byte) ([]byte, error)
    }
    
    // gcmAble is an interface implemented by ciphers that have a specific optimized
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top