Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Clone (0.2 sec)

  1. api/go1.3.txt

    pkg syscall (netbsd-386), const CLONE_CSIGNAL = 255
    pkg syscall (netbsd-386), const CLONE_CSIGNAL ideal-int
    pkg syscall (netbsd-386), const CLONE_FILES = 1024
    pkg syscall (netbsd-386), const CLONE_FILES ideal-int
    pkg syscall (netbsd-386), const CLONE_FS = 512
    pkg syscall (netbsd-386), const CLONE_FS ideal-int
    pkg syscall (netbsd-386), const CLONE_PID = 4096
    pkg syscall (netbsd-386), const CLONE_PID ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  2. src/arena/arena.go

    // slice after free may result in a fault, but this fault is also not guaranteed.
    func MakeSlice[T any](a *Arena, len, cap int) []T {
    	var sl []T
    	runtime_arena_arena_Slice(a.a, &sl, cap)
    	return sl[:len]
    }
    
    // Clone makes a shallow copy of the input value that is no longer bound to any
    // arena it may have been allocated from, returning the copy. If it was not
    // allocated from an arena, it is returned untouched. This function is useful
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  3. api/go1.13.txt

    pkg syscall (netbsd-arm64), const CLONE_PTRACE = 8192
    pkg syscall (netbsd-arm64), const CLONE_PTRACE ideal-int
    pkg syscall (netbsd-arm64), const CLONE_SIGHAND = 2048
    pkg syscall (netbsd-arm64), const CLONE_SIGHAND ideal-int
    pkg syscall (netbsd-arm64), const CLONE_VFORK = 16384
    pkg syscall (netbsd-arm64), const CLONE_VFORK ideal-int
    pkg syscall (netbsd-arm64), const CLONE_VM = 256
    pkg syscall (netbsd-arm64), const CLONE_VM ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    	if i := Index(s, sep); i >= 0 {
    		return s[:i], s[i+len(sep):], true
    	}
    	return s, nil, false
    }
    
    // Clone returns a copy of b[:len(b)].
    // The result may have additional unused capacity.
    // Clone(nil) returns nil.
    func Clone(b []byte) []byte {
    	if b == nil {
    		return nil
    	}
    	return append([]byte{}, b...)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  5. src/cmd/api/testdata/src/pkg/p4/p4.go

    	return Pair[T1, T2]{f1: v1, f2: v2}
    }
    
    func (p Pair[X1, _]) First() X1 {
    	return p.f1
    }
    
    func (p Pair[_, X2]) Second() X2 {
    	return p.f2
    }
    
    // Deprecated: Use something else.
    func Clone[S ~[]T, T any](s S) S {
    	return append(S(nil), s...)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 552 bytes
    - Viewed (0)
  6. api/go1.2.txt

    pkg syscall (linux-386), const CLONE_FS = 512
    pkg syscall (linux-386), const CLONE_FS ideal-int
    pkg syscall (linux-386), const CLONE_IO = 2147483648
    pkg syscall (linux-386), const CLONE_IO ideal-int
    pkg syscall (linux-386), const CLONE_NEWIPC = 134217728
    pkg syscall (linux-386), const CLONE_NEWIPC ideal-int
    pkg syscall (linux-386), const CLONE_NEWNET = 1073741824
    pkg syscall (linux-386), const CLONE_NEWNET ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
  7. doc/go1.17_spec.html

    value of type <code>uint</code>.
    If the left operand of a non-constant shift expression is an untyped constant,
    it is first implicitly converted to the type it would assume if the shift expression were
    replaced by its left operand alone.
    </p>
    
    <pre>
    var a [1024]byte
    var s uint = 33
    
    // The results of the following examples are given for 64-bit ints.
    var i = 1&lt;&lt;s                   // 1 has type int
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  8. api/go1.21.txt

    pkg log/slog, method (*Record) AddAttrs(...Attr) #56345
    pkg log/slog, method (*Record) Add(...interface{}) #56345
    pkg log/slog, method (Record) Attrs(func(Attr) bool) #59060
    pkg log/slog, method (Record) Clone() Record #56345
    pkg log/slog, method (Record) NumAttrs() int #56345
    pkg log/slog, method (*TextHandler) Enabled(context.Context, Level) bool #56345
    pkg log/slog, method (*TextHandler) Handle(context.Context, Record) error #56345
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
  9. api/go1.1.txt

    pkg syscall (linux-386), const PTRACE_ATTACH = 16
    pkg syscall (linux-386), const PTRACE_CONT = 7
    pkg syscall (linux-386), const PTRACE_DETACH = 17
    pkg syscall (linux-386), const PTRACE_EVENT_CLONE = 3
    pkg syscall (linux-386), const PTRACE_EVENT_EXEC = 4
    pkg syscall (linux-386), const PTRACE_EVENT_EXIT = 6
    pkg syscall (linux-386), const PTRACE_EVENT_FORK = 1
    pkg syscall (linux-386), const PTRACE_EVENT_VFORK = 2
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  10. doc/go_spec.html

    value of type <code>uint</code>.
    If the left operand of a non-constant shift expression is an untyped constant,
    it is first implicitly converted to the type it would assume if the shift expression were
    replaced by its left operand alone.
    </p>
    
    <pre>
    var a [1024]byte
    var s uint = 33
    
    // The results of the following examples are given for 64-bit ints.
    var i = 1&lt;&lt;s                   // 1 has type int
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top