Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 272 for uwcache (0.25 sec)

  1. src/crypto/ecdsa/boring.go

    var pubCache bcache.Cache[PublicKey, boringPub]
    var privCache bcache.Cache[PrivateKey, boringPriv]
    
    func init() {
    	pubCache.Register()
    	privCache.Register()
    }
    
    type boringPub struct {
    	key  *boring.PublicKeyECDSA
    	orig PublicKey
    }
    
    func boringPublicKey(pub *PublicKey) (*boring.PublicKeyECDSA, error) {
    	b := pubCache.Get(pub)
    	if b != nil && publicKeyEqual(&b.orig, pub) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/link_matching_actionid.txt

    symlink $GOROOT -> $TESTGO_GOROOT
    
    # Set up fresh GOCACHE
    env GOCACHE=$WORK/gocache1
    mkdir $GOCACHE
    
    # Build a simple binary
    go build -o binary1 -trimpath -x main.go
    
    # Now repeat the same process with the compiler at a different local path
    env GOROOT=$WORK/goroot2
    symlink $GOROOT -> $TESTGO_GOROOT
    
    env GOCACHE=$WORK/gocache2
    mkdir $GOCACHE
    
    go build -o binary2 -trimpath -x main.go
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 14:18:11 UTC 2020
    - 835 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/build_cache_compile.txt

    env GO111MODULE=off
    [short] skip
    
    # Set up fresh GOCACHE.
    env GOCACHE=$WORK/gocache
    mkdir $GOCACHE
    
    # Building trivial non-main package should run compiler the first time.
    go build -x lib.go
    stderr '(compile|gccgo)( |\.exe).*lib\.go'
    
    # ... but not again ...
    go build -x lib.go
    ! stderr '(compile|gccgo)( |\.exe).*lib\.go'
    
    # ... unless we use -a.
    go build -a -x lib.go
    stderr '(compile|gccgo)( |\.exe)'
    
    -- lib.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 03:25:01 UTC 2019
    - 430 bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/sumdb/cache.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.
    
    // Parallel cache.
    // This file is copied from cmd/go/internal/par.
    
    package sumdb
    
    import (
    	"sync"
    	"sync/atomic"
    )
    
    // parCache runs an action once per key and caches the result.
    type parCache struct {
    	m sync.Map
    }
    
    type cacheEntry struct {
    	done   uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 29 20:10:15 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  5. src/crypto/tls/cache.go

    // are still safe to use after they are removed from the cache.
    //
    // Certificates are returned wrapped in an activeCert struct that should be held by
    // the caller. When references to the activeCert are freed, the number of references
    // to the certificate in the cache is decremented. Once the number of references
    // reaches zero, the entry is evicted from the cache.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:56:41 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. operator/pkg/cache/cache.go

    // limitations under the License.
    
    package cache
    
    import (
    	"sync"
    
    	"istio.io/istio/operator/pkg/metrics"
    	"istio.io/istio/operator/pkg/object"
    )
    
    // ObjectCache is a cache of objects,
    type ObjectCache struct {
    	// Cache is a cache keyed by object Hash() function.
    	Cache map[string]*object.K8sObject
    	Mu    *sync.RWMutex
    }
    
    var (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 06 13:12:49 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/build_cache_output.txt

    env GO111MODULE=off
    env GODEBUG=gocachetest=1
    
    [!compiler:gc] skip
    [short] skip # clears cache, rebuilds too much
    
    # Set up fresh GOCACHE.
    env GOCACHE=$WORK/gocache
    mkdir $GOCACHE
    
    # Building a trivial non-main package should run compiler the first time.
    go build -x -gcflags=-m lib.go
    stderr 'compile( |\.exe"?)'
    stderr 'lib.go:2.* can inline f'
    
    # ... but not the second, even though it still prints the compiler output.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Cache.java

      /** Discards all entries in the cache. */
      void invalidateAll();
    
      /** Returns the approximate number of entries in this cache. */
      long size();
    
      /**
       * Returns a current snapshot of this cache's cumulative statistics, or a set of default values if
       * the cache is not recording statistics. All statistics begin at zero and never decrease over the
       * lifetime of the cache.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/cache/cache.go

    // Package cache implements a build artifact cache.
    package cache
    
    import (
    	"bytes"
    	"crypto/sha256"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"internal/godebug"
    	"io"
    	"io/fs"
    	"os"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"time"
    
    	"cmd/go/internal/lockedfile"
    	"cmd/go/internal/mmap"
    )
    
    // An ActionID is a cache action key, the hash of a complete description of a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. src/crypto/internal/boring/bcache/cache.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package bcache implements a GC-friendly cache (see [Cache]) for BoringCrypto.
    package bcache
    
    import (
    	"sync/atomic"
    	"unsafe"
    )
    
    // A Cache is a GC-friendly concurrent map from unsafe.Pointer to
    // unsafe.Pointer. It is meant to be used for maintaining shadow
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 4.4K bytes
    - Viewed (0)
Back to top