Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 623 for Implementation (0.15 sec)

  1. src/runtime/mcheckmark.go

    // GC checkmarks
    //
    // In a concurrent garbage collector, one worries about failing to mark
    // a live object due to mutations without write barriers or bugs in the
    // collector implementation. As a sanity check, the GC has a 'checkmark'
    // mode that retraverses the object graph with the world stopped, to make
    // sure that everything that should be marked is marked.
    
    package runtime
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/sort/zsortfunc.go

    // The algorithm based on pattern-defeating quicksort(pdqsort), but without the optimizations from BlockQuicksort.
    // pdqsort paper: https://arxiv.org/pdf/2106.05123.pdf
    // C++ implementation: https://github.com/orlp/pdqsort
    // Rust implementation: https://docs.rs/pdqsort/latest/pdqsort/
    // limit is the number of allowed bad (very unbalanced) pivots before falling back to heapsort.
    func pdqsort_func(data lessSwap, a, b, limit int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 13 20:16:24 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/asm_openbsd_mips64.s

    // license that can be found in the LICENSE file.
    
    //go:build gc
    
    #include "textflag.h"
    
    //
    // System call support for mips64, OpenBSD
    //
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-56
    	JMP	syscall·Syscall(SB)
    
    TEXT	·Syscall6(SB),NOSPLIT,$0-80
    	JMP	syscall·Syscall6(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 677 bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/slice.go

    	// position to discover whether there is a blank before the parenthesis.
    	// We only get here if defining a macro inside a macro.
    	// This imperfect implementation means we cannot tell the difference between
    	//	#define A #define B(x) x
    	// and
    	//	#define A #define B (x) x
    	// The first definition of B has an argument, the second doesn't. Because we let
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 29 22:49:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. src/io/fs/readdir.go

    // license that can be found in the LICENSE file.
    
    package fs
    
    import (
    	"errors"
    	"internal/bytealg"
    	"slices"
    )
    
    // ReadDirFS is the interface implemented by a file system
    // that provides an optimized implementation of [ReadDir].
    type ReadDirFS interface {
    	FS
    
    	// ReadDir reads the named directory
    	// and returns a list of directory entries sorted by filename.
    	ReadDir(name string) ([]DirEntry, error)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s

    //go:build (darwin || freebsd || netbsd || openbsd) && gc
    
    #include "textflag.h"
    
    //
    // System call support for ppc64, BSD
    //
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-56
    	JMP	syscall·Syscall(SB)
    
    TEXT	·Syscall6(SB),NOSPLIT,$0-80
    	JMP	syscall·Syscall6(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 716 bytes
    - Viewed (0)
  7. src/go/doc/comment/old_test.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // These tests are carried forward from the old go/doc implementation.
    
    package comment
    
    import "testing"
    
    var oldHeadingTests = []struct {
    	line string
    	ok   bool
    }{
    	{"Section", true},
    	{"A typical usage", true},
    	{"ΔΛΞ is Greek", true},
    	{"Foo 42", true},
    	{"", false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:36 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  8. src/hash/maphash/maphash_purego.go

    	return rthash([]byte(s), state)
    }
    
    func randUint64() uint64 {
    	buf := make([]byte, 8)
    	_, _ = rand.Read(buf)
    	return byteorder.LeUint64(buf)
    }
    
    // This is a port of wyhash implementation in runtime/hash64.go,
    // without using unsafe for purego.
    
    const (
    	m1 = 0xa0761d6478bd642f
    	m2 = 0xe7037ed1a0b428db
    	m3 = 0x8ebc6af09c88c6e3
    	m4 = 0x589965cc75374cc3
    	m5 = 0x1d8e4e27c47d124f
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/io/fs/readfile.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package fs
    
    import "io"
    
    // ReadFileFS is the interface implemented by a file system
    // that provides an optimized implementation of [ReadFile].
    type ReadFileFS interface {
    	FS
    
    	// ReadFile reads the named file and returns its contents.
    	// A successful call returns a nil error, not io.EOF.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:25:50 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. src/internal/types/testdata/fixedbugs/issue51139.go

    	f([]chan int{}, make(chan int))
    	f /* ERROR "[]chan int does not satisfy []L ([]chan int missing in []p.L)" */ ([]chan int{}, make(L))
    }
    
    // test case from issue
    
    func Append[S ~[]T, T any](s S, x ...T) S { /* implementation of append */ return s }
    
    func _() {
            type MyPtr *int
            var x []MyPtr
            _ = append(x, new(int))
            _ = Append(x, new(int))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 20:55:32 UTC 2023
    - 649 bytes
    - Viewed (0)
Back to top