Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 291 for Implementation (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/reflect/makefunc.go

    // Copyright 2012 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.
    
    // MakeFunc implementation.
    
    package reflect
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    // makeFuncImpl is the closure value implementing the function
    // returned by MakeFunc.
    // The first three words of this type must be kept in sync with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/internal/coverage/rtcov/rtcov.go

    // license that can be found in the LICENSE file.
    
    package rtcov
    
    import "unsafe"
    
    // This package contains types whose structure is shared between
    // the runtime package and the "runtime/coverage" implementation.
    
    // CovMetaBlob is a container for holding the meta-data symbol (an
    // RODATA variable) for an instrumented Go package. Here "p" points to
    // the symbol itself, "len" is the length of the sym in bytes, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/os/removeall_noat.go

    		// of RemoveAll. See issue 28830.
    		return nil
    	}
    
    	// The rmdir system call permits removing "." on Plan 9,
    	// so we don't permit it to remain consistent with the
    	// "at" implementation of RemoveAll.
    	if endsWithDot(path) {
    		return &PathError{Op: "RemoveAll", Path: path, Err: syscall.EINVAL}
    	}
    
    	// Simple case: if Remove works, we're done.
    	err := Remove(path)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  10. src/runtime/memclr_386.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !plan9
    
    #include "go_asm.h"
    #include "textflag.h"
    
    // See memclrNoHeapPointers Go doc for important implementation constraints.
    
    // func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
    TEXT runtime·memclrNoHeapPointers(SB), NOSPLIT, $0-8
    	MOVL	ptr+0(FP), DI
    	MOVL	n+4(FP), BX
    	XORL	AX, AX
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 2.4K bytes
    - Viewed (0)
Back to top