Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for diskcached (0.13 sec)

  1. pkg/kube/client_factory.go

    //  limitations under the License.
    
    package kube
    
    import (
    	"path/filepath"
    	"regexp"
    	"strings"
    	"time"
    
    	"k8s.io/apimachinery/pkg/api/meta"
    	"k8s.io/client-go/discovery"
    	diskcached "k8s.io/client-go/discovery/cached/disk"
    	"k8s.io/client-go/discovery/cached/memory"
    	"k8s.io/client-go/dynamic"
    	"k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/rest"
    	"k8s.io/client-go/restmapper"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 21:30:37 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/config_flags.go

    	"strings"
    	"sync"
    	"time"
    
    	"github.com/spf13/pflag"
    
    	"k8s.io/apimachinery/pkg/api/meta"
    	"k8s.io/cli-runtime/pkg/genericiooptions"
    	"k8s.io/cli-runtime/pkg/printers"
    	"k8s.io/client-go/discovery"
    	diskcached "k8s.io/client-go/discovery/cached/disk"
    	"k8s.io/client-go/rest"
    	"k8s.io/client-go/restmapper"
    	"k8s.io/client-go/tools/clientcmd"
    	"k8s.io/client-go/util/homedir"
    	utilpointer "k8s.io/utils/pointer"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 15:04:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. ci/official/envs/disk_cache

      echo "Please note that using disk cache on macOS is not recommended because the"
      echo "cache can end up being pretty big and make the build process inefficient."
    fi
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 01 03:21:19 UTC 2024
    - 1023 bytes
    - Viewed (0)
  4. src/cmd/go/internal/cache/cache.go

    func (c *DiskCache) used(file string) {
    	info, err := os.Stat(file)
    	if err == nil && c.now().Sub(info.ModTime()) < mtimeInterval {
    		return
    	}
    	os.Chtimes(file, c.now(), c.now())
    }
    
    func (c *DiskCache) Close() error { return c.Trim() }
    
    // Trim removes old cache entries that are likely not to be reused.
    func (c *DiskCache) Trim() error {
    	now := c.now()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/initialization/loadercache/ClassLoadersCachingIntegrationTest.groovy

            then:
            isCached(":")
            isCached(":foo")
    
            when:
            sleep(1000)
            file("lib/foo.jar").delete()
            createJarWithProperties("lib/foo.jar", [target: 2])
            run()
    
            then:
            isNotCached(":")
            isNotCached(":foo")
    
            when:
            run()
    
            then:
            isCached(":")
            isCached(":foo")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 19 20:09:56 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  6. src/cmd/go/internal/cache/default.go

    		os.WriteFile(filepath.Join(dir, "README"), []byte(cacheREADME), 0666)
    	}
    
    	diskCache, err := Open(dir)
    	if err != nil {
    		base.Fatalf("failed to initialize build cache at %s: %s\n", dir, err)
    	}
    
    	if v := cfg.Getenv("GOCACHEPROG"); v != "" && goexperiment.CacheProg {
    		defaultCache = startCacheProg(v, diskCache)
    	} else {
    		defaultCache = diskCache
    	}
    }
    
    var (
    	defaultDirOnce    sync.Once
    	defaultDir        string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. ci/official/any.sh

    #       export TF_ANY_SCRIPT=ci/official/wheel.sh
    #       ./any.sh
    #
    # 3. DO THE SAME WITH A LOCAL CACHE OR RBE:
    #       export TF_ANY_EXTRA_ENV=ci/official/envs/public_cache,ci/official/envs/disk_cache
    #       ...
    #       ./any.sh
    #     or
    #       export TF_ANY_EXTRA_ENV=ci/official/envs/local_rbe
    #       ./any.sh
    #       ...
    set -euxo pipefail
    cd "$(dirname "$0")/../../"  # tensorflow/
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 01 03:21:19 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. ci/official/README.md

    #      Ex. 2: TFCI=py39,linux_x86,rbe                   (continuous job)
    #   Non-Googlers should replace "nightly_upload" or "rbe" with
    #   "public_cache,disk_cache".
    #   Googlers should replace "nightly_upload" with "public_cache,disk_cache" or
    #   "rbe", if you have set up your system to use RBE (see further below).
    #
    # Here is how to choose your TFCI value:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 01 03:21:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. ci/official/bisect.sh

    #   export TF_ANY_MODE=test
    set -euxo pipefail
    cd "$(dirname "$0")/../../"  # tensorflow/
    export TFCI="$(echo $TFCI | sed 's/,nightly_upload/,public_cache,disk_cache/')"
    git bisect start "$TF_BISECT_BAD" "$TF_BISECT_GOOD"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 01 03:21:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. pkg/kubelet/status/status_manager.go

    	// ensure that all containers have a terminated state - because we do not know whether the container
    	// was successful, always report an error
    	oldStatus := &pod.Status
    	cachedStatus, isCached := m.podStatuses[pod.UID]
    	if isCached {
    		oldStatus = &cachedStatus.status
    	}
    	status := *oldStatus.DeepCopy()
    
    	// once a pod has initialized, any missing status is treated as a failure
    	if hasPodInitialized(pod) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 44.3K bytes
    - Viewed (0)
Back to top