Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,314 for copiedS (0.12 sec)

  1. test/copy.go

    	n := ncopied(length, in, out)
    	if m != n {
    		fmt.Printf("count bad(%d %d %d): %d not %d\n", length, in, out, m, n)
    		os.Exit(1)
    		return
    	}
    	// before
    	var i int
    	for i = 0; i < out; i++ {
    		if outputS[i] != u8(i+13) {
    			badS("beforeS", i, length, in, out)
    			return
    		}
    	}
    	// copied part
    	for ; i < out+n; i++ {
    		if outputS[i] != u8(i+in-out) {
    			badS("copiedS", i, length, in, out)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 6.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/subst.go

    }
    
    func (subst *subster) tuple(t *Tuple) *Tuple {
    	if t != nil {
    		if vars, copied := subst.varList(t.vars); copied {
    			return &Tuple{vars: vars}
    		}
    	}
    	return t
    }
    
    func (subst *subster) varList(in []*Var) (out []*Var, copied bool) {
    	out = in
    	for i, v := range in {
    		if w := subst.var_(v); w != v {
    			if !copied {
    				// first variable that got substituted => allocate new out slice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/go/types/subst.go

    }
    
    func (subst *subster) tuple(t *Tuple) *Tuple {
    	if t != nil {
    		if vars, copied := subst.varList(t.vars); copied {
    			return &Tuple{vars: vars}
    		}
    	}
    	return t
    }
    
    func (subst *subster) varList(in []*Var) (out []*Var, copied bool) {
    	out = in
    	for i, v := range in {
    		if w := subst.var_(v); w != v {
    			if !copied {
    				// first variable that got substituted => allocate new out slice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. src/net/sendfile_windows.go

    package net
    
    import (
    	"internal/poll"
    	"io"
    	"os"
    	"syscall"
    )
    
    const supportsSendfile = true
    
    // sendFile copies the contents of r to c using the TransmitFile
    // system call to minimize copies.
    //
    // if handled == true, sendFile returns the number of bytes copied and any
    // non-EOF error.
    //
    // if handled == false, sendFile performed no work.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. manifests/charts/istiod-remote/NOTES.txt

    Install for a remote cluster using an external control plane.
    
    The templates in this directory are copies of base and istio-discovery templates.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 12 16:44:21 UTC 2021
    - 267 bytes
    - Viewed (0)
  6. src/compress/flate/dict_decoder.go

    //     is used.
    //
    //   - Backward copies: Runs of one or more symbols are copied from previously
    //     emitted data. Backward copies come as the tuple (dist, length) where dist
    //     determines how far back in the stream to copy from and length determines how
    //     many bytes to copy. Note that it is valid for the length to be greater than
    //     the distance. Since LZ77 uses forward copies, that situation is used to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6K bytes
    - Viewed (0)
  7. cni/pkg/install/binaries.go

    package install
    
    import (
    	"os"
    	"path/filepath"
    
    	"istio.io/istio/pkg/file"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // Copies/mirrors any files present in a single source dir to N number of target dirs
    // and returns a set of the filenames copied.
    func copyBinaries(srcDir string, targetDirs []string) (sets.String, error) {
    	copiedFilenames := sets.String{}
    	srcFiles, err := os.ReadDir(srcDir)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 11 19:10:54 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. src/net/sendfile_linux.go

    package net
    
    import (
    	"internal/poll"
    	"io"
    	"os"
    )
    
    const supportsSendfile = true
    
    // sendFile copies the contents of r to c using the sendfile
    // system call to minimize copies.
    //
    // if handled == true, sendFile returns the number (potentially zero) of bytes
    // copied and any non-EOF error.
    //
    // if handled == false, sendFile performed no work.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. test/fixedbugs/issue17449.go

    }
    
    func (l *PriorityList) Next() interface{} {
        return l.remove(l.Len() - 1)
    }
    
    var l *PriorityList
    
    func Foo() {
        // It would fail here if instrumented code (including inline-label) was copied.
        for elem := l.Next(); elem != nil; elem = l.Next() {
        }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device.h

    //    "/job:localhost/replica:0/task:0/device:GPU:1"}
    // Then executing an operation on CUSTOM:0 will execute it on GPU:0 and GPU:1.
    //
    // Implicit copies onto `device_name` are allowed, replicating the value once
    // per device in `underlying_devices`. Implicit copies off of the device throw
    // an error.
    //
    // All component tensors must have the same dtype. Currently they must also have
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 04 21:49:16 UTC 2020
    - 2.9K bytes
    - Viewed (0)
Back to top