Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 798 for copiedS (0.26 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/compile/internal/ir/copy.go

    package ir
    
    import (
    	"cmd/internal/src"
    )
    
    // Copy returns a shallow copy of n.
    func Copy(n Node) Node {
    	return n.copy()
    }
    
    // DeepCopy returns a “deep” copy of n, with its entire structure copied
    // (except for shared nodes like ONAME, ONONAME, OLITERAL, and OTYPE).
    // If pos.IsKnown(), it sets the source position of newly allocated Nodes to pos.
    func DeepCopy(pos src.XPos, n Node) Node {
    	var edit func(Node) Node
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:57:57 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/file/FileTreeElement.java

        InputStream open();
    
        /**
         * Copies the content of this file to an output stream. Generally, calling this method is more performant than
         * calling {@code new FileInputStream(getFile())}.
         *
         * @param output The output stream to write to. The caller is responsible for closing this stream.
         */
        void copyTo(OutputStream output);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 13:43:13 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

            p1.exclude p1Exclude
            p2.exclude p2Exclude
    
            when:
            def copied = child.copyRecursive()
    
            then:
            copied.excludeRules.size() == 2
            copied.excludeRules.collect { [group: it.group, module: it.module] }.sort { it.group } == [p1Exclude, p2Exclude]
        }
    
        def "copied configuration has own instance of resolution strategy"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  10. docs/fr/docs/tutorial/index.md

    Vous pouvez donc revenir et voir exactement ce dont vous avez besoin.
    
    ## Exécuter le code
    
    Tous les blocs de code peuvent être copiés et utilisés directement (il s'agit en fait de fichiers Python testés).
    
    Pour exécuter l'un de ces exemples, copiez le code dans un fichier `main.py`, et commencez `uvicorn` avec :
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 27 18:51:55 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top