Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 291 for Implementation (0.35 sec)

  1. src/cmd/internal/pkgpattern/pkgpattern.go

    	// The strategy for the vendor exclusion is to change the unmatchable
    	// vendor strings to a disallowed code point (vendorChar) and to use
    	// "(anything but that codepoint)*" as the implementation of the ... wildcard.
    	// This is a bit complicated but the obvious alternative,
    	// namely a hand-written search like in most shell glob matchers,
    	// is too easy to make accidentally exponential.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 16:43:40 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  2. src/runtime/memclr_arm64.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // See memclrNoHeapPointers Go doc for important implementation constraints.
    
    // func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
    // Also called from assembly in sys_windows_arm64.s without g (but using Go stack convention).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 18:26:13 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  3. src/reflect/example_test.go

    			fmt.Println(v.Int())
    		default:
    			fmt.Printf("unhandled kind %s", v.Kind())
    		}
    	}
    
    	// Output:
    	// hi
    	// 42
    	// unhandled kind func
    }
    
    func ExampleMakeFunc() {
    	// swap is the implementation passed to MakeFunc.
    	// It must work in terms of reflect.Values so that it is possible
    	// to write code without knowing beforehand what the types
    	// will be.
    	swap := func(in []reflect.Value) []reflect.Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 20:04:36 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  4. src/runtime/lock_futex.go

    // license that can be found in the LICENSE file.
    
    //go:build dragonfly || freebsd || linux
    
    package runtime
    
    import (
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    // This implementation depends on OS-specific implementations of
    //
    //	futexsleep(addr *uint32, val uint32, ns int64)
    //		Atomically,
    //			if *addr == val { sleep }
    //		Might be woken up spuriously; that's allowed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/counter/counter.go

    // Copyright 2023 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.
    
    package counter
    
    // The implementation of this package and tests are located in
    // internal/counter, which can be shared with the upload package.
    // TODO(hyangah): use of type aliases prevents nice documentation
    // rendering in go doc or pkgsite. Fix this either by avoiding
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 18:02:34 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/cmd/pprof/readlineui.go

    // Copyright 2018 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.
    
    // This file contains a driver.UI implementation
    // that provides the readline functionality if possible.
    
    //go:build (darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || windows) && !appengine && !android
    
    package main
    
    import (
    	"fmt"
    	"io"
    	"os"
    	"strings"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 18:10:36 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. src/os/dir_unix.go

    	if d == nil {
    		d = new(dirInfo)
    		f.dirinfo.Store(d)
    	}
    	d.mu.Lock()
    	defer d.mu.Unlock()
    	if d.buf == nil {
    		d.buf = dirBufPool.Get().(*[]byte)
    	}
    
    	// Change the meaning of n for the implementation below.
    	//
    	// The n above was for the public interface of "if n <= 0,
    	// Readdir returns all the FileInfo from the directory in a
    	// single slice".
    	//
    	// But below, we use only negative to mean looping until the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:11:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/cmd/link/main.go

    	"cmd/link/internal/ppc64"
    	"cmd/link/internal/riscv64"
    	"cmd/link/internal/s390x"
    	"cmd/link/internal/wasm"
    	"cmd/link/internal/x86"
    	"fmt"
    	"internal/buildcfg"
    	"os"
    )
    
    // The bulk of the linker implementation lives in cmd/link/internal/ld.
    // Architecture-specific code lives in cmd/link/internal/GOARCH.
    //
    // Program initialization:
    //
    // Before any argument parsing is done, the Init function of relevant
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 17:54:33 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sync/semaphore/semaphore.go

    // Copyright 2017 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.
    
    // Package semaphore provides a weighted semaphore implementation.
    package semaphore // import "golang.org/x/sync/semaphore"
    
    import (
    	"container/list"
    	"context"
    	"sync"
    )
    
    type waiter struct {
    	n     int64
    	ready chan<- struct{} // Closed when semaphore acquired.
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/compress/zlib/reader.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
    Package zlib implements reading and writing of zlib format compressed data,
    as specified in RFC 1950.
    
    The implementation provides filters that uncompress during reading
    and compress during writing.  For example, to write compressed data
    to a buffer:
    
    	var b bytes.Buffer
    	w := zlib.NewWriter(&b)
    	w.Write([]byte("hello, world\n"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top