Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 355 for copiedS (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tools/docker-builder/dockerfile/parse.go

    type state struct {
    	args   map[string]string
    	env    map[string]string
    	labels map[string]string
    	bases  map[string]string
    
    	copies     map[string]string // copies stores a map of destination path -> source path
    	user       string
    	workdir    string
    	base       string
    	entrypoint []string
    	cmd        []string
    
    	shlex *shell.Lex
    }
    
    func cut(s, sep string) (before, after string) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/compiler/jit/xla_host_recv_device_context.h

                                  StatusCallback done) const override {
        done(errors::Internal("device->device copy not implemented."));
      }
    
     private:
      se::Stream* stream_;  // Not owned.
      // This is copied rather than a reference or pointer since its lifetime
      // is not guaranteed to outlast the original object.  Object slicing is
      // not an issue here since only DeviceMemoryBase methods/members are used.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. pilot/pkg/networking/util/fuzz_test.go

    		empty2 := &networking.TrafficPolicy{}
    		copied = mergeTrafficPolicy(empty2, copied, true)
    		assert.Equal(fg.T(), copyFrom, copied)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 20:32:49 UTC 2024
    - 1.8K bytes
    - Viewed (1)
Back to top