Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for content_es (0.64 sec)

  1. src/internal/obscuretestdata/obscuretestdata.go

    		return "", err
    	}
    	if err := tmp.Close(); err != nil {
    		os.Remove(tmp.Name())
    		return "", err
    	}
    	return tmp.Name(), nil
    }
    
    // ReadFile reads the named file and returns its decoded contents.
    func ReadFile(name string) ([]byte, error) {
    	f, err := os.Open(name)
    	if err != nil {
    		return nil, err
    	}
    	defer f.Close()
    	return io.ReadAll(base64.NewDecoder(base64.StdEncoding, f))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 14:47:58 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/mfinal_test.go

    func TestEmptyString(t *testing.T) {
    	x, y := adjStringChunk()
    
    	ss := x[objsize:] // change objsize to objsize-1 and the test passes
    	fin := make(chan bool, 1)
    	// set finalizer on string contents of y
    	runtime.SetFinalizer(y, func(z *objtype) { fin <- true })
    	runtime.GC()
    	<-fin
    	ssglobal = ss // keep 0-length string live until here
    }
    
    var ssglobal string
    
    // Test for issue 7656.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:58 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. src/net/netip/slow_test.go

    // address, to its canonical text form.
    //
    // The canonical form of an IPv6 address is 8 colon-separated fields,
    // where each field should be a hex value from 0 to ffff. This
    // function does not verify the contents of each field.
    //
    // This function performs two transformations:
    //   - The last 32 bits of an IPv6 address may be represented in
    //     IPv4-style dotted quad form, as in 1:2:3:4:5:6:7.8.9.10. That
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/hash/crc32/crc32.go

    		updateIEEE = func(crc uint32, p []byte) uint32 {
    			return slicingUpdate(crc, ieeeTable8, p)
    		}
    	}
    }
    
    // MakeTable returns a [Table] constructed from the specified polynomial.
    // The contents of this [Table] must not be modified.
    func MakeTable(poly uint32) *Table {
    	switch poly {
    	case IEEE:
    		ieeeOnce.Do(ieeeInit)
    		return IEEETable
    	case Castagnoli:
    		castagnoliOnce.Do(castagnoliInit)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/extractdoc.go

    	doc, err := ExtractDoc(content, name)
    	if err != nil {
    		panic(err)
    	}
    	return doc
    }
    
    // ExtractDoc extracts a section of a package doc comment from the
    // provided contents of an analyzer package's doc.go file.
    //
    // A section is a portion of the comment between one heading and
    // the next, using this form:
    //
    //	# Analyzer NAME
    //
    //	NAME: SUMMARY
    //
    //	Full description...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. src/net/lookup_unix.go

    //go:build unix || js || wasip1
    
    package net
    
    import (
    	"context"
    	"internal/bytealg"
    	"sync"
    )
    
    var onceReadProtocols sync.Once
    
    // readProtocols loads contents of /etc/protocols into protocols map
    // for quick access.
    func readProtocols() {
    	file, err := open("/etc/protocols")
    	if err != nil {
    		return
    	}
    	defer file.close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/build_overlay.txt

    [cgo] go run ../print_line_comments.go compiled_cgo_sources.txt
    [cgo] stdout $GOPATH[/\\]src[/\\]m[/\\]cgo_hello_replace[/\\]cgo_hello_replace.go
    [cgo] ! stdout $GOPATH[/\\]src[/\\]m[/\\]overlay[/\\]hello.c
    
    # Change the contents of a file in the overlay and ensure that makes the target stale
    env OLD_GOCACHE=$GOCACHE
    env GOCACHE=$WORK/cache  # use a fresh cache so that multiple runs of the test don't interfere
    go build -x -overlay overlay.json ./test_cache
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 29 00:40:18 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  9. src/internal/coverage/encodecounter/encode.go

    }
    
    // CounterVisitorFn describes a callback function invoked when writing
    // coverage counter data.
    type CounterVisitorFn func(pkid uint32, funcid uint32, counters []uint32) error
    
    // Write writes the contents of the count-data file to the writer
    // previously supplied to NewCoverageDataWriter. Returns an error
    // if something went wrong somewhere with the write.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. src/mime/multipart/formdata.go

    		}
    		r := io.NewSectionReader(f, fh.tmpoff, fh.Size)
    		return sectionReadCloser{r, f}, nil
    	}
    	return os.Open(fh.tmpfile)
    }
    
    // File is an interface to access the file part of a multipart message.
    // Its contents may be either stored in memory or on disk.
    // If stored on disk, the File's underlying concrete type will be an *os.File.
    type File interface {
    	io.Reader
    	io.ReaderAt
    	io.Seeker
    	io.Closer
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top