Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 567 for Implementation (0.4 sec)

  1. src/testing/newcover.go

    // Copyright 2022 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.
    
    // Support for test coverage with redesigned coverage implementation.
    
    package testing
    
    import (
    	"fmt"
    	"internal/goexperiment"
    	"os"
    	_ "unsafe" // for linkname
    )
    
    // cover2 variable stores the current coverage mode and a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:58:07 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. doc/go_mem.html

    there are limitations to what a Go implementation can do in response to a data race.
    An implementation may always react to a data race by reporting the race and terminating the program.
    Otherwise, each read of a single-word-sized or sub-word-sized memory location
    must observe a value actually written to that location (perhaps by a concurrent executing goroutine)
    and not yet overwritten.
    These implementation constraints make Go more like Java or JavaScript,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    // but it is also input to mksyscall,
    // which parses the //sys lines and generates system call stubs.
    // Note that sometimes we use a lowercase //sys name and wrap
    // it in our own nicer implementation, either here or in
    // syscall_bsd.go or syscall_unix.go.
    
    package unix
    
    import (
    	"errors"
    	"sync"
    	"unsafe"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/net/http/fs.go

    // ending in "/index.html" to the same path, without the final
    // "index.html".
    //
    // To use the operating system's file system implementation,
    // use [http.Dir]:
    //
    //	http.Handle("/", http.FileServer(http.Dir("/tmp")))
    //
    // To use an [fs.FS] implementation, use [http.FileServerFS] instead.
    func FileServer(root FileSystem) Handler {
    	return &fileHandler{root}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  8. 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)
  9. src/go/types/typeset.go

    	}
    	if hasTerms {
    		buf.WriteString(s.terms.String())
    	}
    	buf.WriteString("}")
    	return buf.String()
    }
    
    // ----------------------------------------------------------------------------
    // Implementation
    
    // hasTerms reports whether the type set has specific type terms.
    func (s *_TypeSet) hasTerms() bool { return !s.terms.isEmpty() && !s.terms.isAll() }
    
    // subsetOf reports whether s1 ⊆ s2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. src/runtime/stubs.go

    // pointer-sized portion is cleared atomically. Despite the function
    // name, this is necessary because this function is the underlying
    // implementation of typedmemclr and memclrHasPointers. See the doc of
    // memmove for more details.
    //
    // The (CPU-specific) implementations of this function are in memclr_*.s.
    //
    // memclrNoHeapPointers should be an internal detail,
    // but widely used packages access it using linkname.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top