Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 498 for Implementation (0.19 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/counter/counter.go

    			c.releaseLock(state)
    			return
    		}
    	}
    }
    
    // Read reads the given counter.
    // This is the implementation of x/telemetry/counter/countertest.ReadCounter.
    func Read(c *Counter) (uint64, error) {
    	if c.file.current.Load() == nil {
    		return c.state.load().extra(), nil
    	}
    	pf, err := readFile(c.file)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/language/coverage.go

    }
    
    // coverage is used by NewCoverage which is used as a convenient way for
    // creating Coverage implementations for partially defined data. Very often a
    // package will only need to define a subset of slices. coverage provides a
    // convenient way to do this. Moreover, packages using NewCoverage, instead of
    // their own implementation, will not break if later new slice types are added.
    type coverage struct {
    	tags    func() []Tag
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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