Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 269 for hamster (0.21 sec)

  1. src/crypto/tls/example_test.go

    	if err != nil {
    		log.Fatalf("Failed to get URL: %v", err)
    	}
    	resp.Body.Close()
    
    	// The resulting file can be used with Wireshark to decrypt the TLS
    	// connection by setting (Pre)-Master-Secret log filename in SSL Protocol
    	// preferences.
    }
    
    func ExampleLoadX509KeyPair() {
    	cert, err := tls.LoadX509KeyPair("testdata/example-cert.pem", "testdata/example-key.pem")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. cni/test/install_k8s_test.go

    package install_test
    
    import (
    	"testing"
    
    	install "istio.io/istio/cni/test"
    	"istio.io/istio/pkg/test/env"
    )
    
    var (
    	Hub = "gcr.io/istio-release"
    	Tag = "master-latest-daily"
    )
    
    type testCase struct {
    	name             string
    	chainedCNIPlugin bool
    	preConfFile      string
    	resultFileName   string
    	// Must set chainedCNIPlugin to true if delayedConfFile is specified
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 27 18:01:48 UTC 2022
    - 8K bytes
    - Viewed (0)
  3. pkg/controlplane/apiserver/options/validation_test.go

    			}
    		})
    	}
    }
    
    func TestValidateOptions(t *testing.T) {
    	testCases := []struct {
    		name         string
    		options      *Options
    		expectErrors bool
    	}{
    		{
    			name:         "validate master count equal 0",
    			expectErrors: true,
    			options: &Options{
    				GenericServerRunOptions: &genericoptions.ServerRunOptions{},
    				Etcd:                    &genericoptions.EtcdOptions{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/poset.go

    // of the master node n1.
    func (po *poset) aliasnewnode(n1, n2 *Value) {
    	i1, i2 := po.values[n1.ID], po.values[n2.ID]
    	if i1 == 0 || i2 != 0 {
    		panic("aliasnewnode invalid arguments")
    	}
    
    	po.values[n2.ID] = i1
    	po.upushalias(n2.ID, 0)
    }
    
    // aliasnodes records that all the nodes i2s are aliases of a single master node n1.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  5. src/image/draw/draw.go

    		return
    	}
    
    	// Fast paths for special cases. If none of them apply, then we fall back
    	// to general but slower implementations.
    	//
    	// For NRGBA and NRGBA64 image types, the code paths aren't just faster.
    	// They also avoid the information loss that would otherwise occur from
    	// converting non-alpha-premultiplied color to and from alpha-premultiplied
    	// color. See TestDrawSrcNonpremultiplied.
    	switch dst0 := dst.(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  6. pkg/kubelet/stats/cri_stats_provider.go

    		// The image filesystem id is unknown to the local node or there's
    		// an error on retrieving the stats. In these cases, we omit those
    		// stats and return the best-effort partial result. See
    		// https://github.com/kubernetes/heapster/issues/1793.
    		imageFsRet.AvailableBytes = &imageFsInfo.Available
    		imageFsRet.CapacityBytes = &imageFsInfo.Capacity
    		imageFsRet.InodesFree = imageFsInfo.InodesFree
    		imageFsRet.Inodes = imageFsInfo.Inodes
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  7. cmd/kube-controller-manager/app/controllermanager.go

    	return cmd
    }
    
    // ResyncPeriod returns a function which generates a duration each time it is
    // invoked; this is so that multiple controllers don't get into lock-step and all
    // hammer the apiserver with list requests simultaneously.
    func ResyncPeriod(c *config.CompletedConfig) func() time.Duration {
    	return func() time.Duration {
    		factor := rand.Float64() + 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/mips/asm.go

    // Inferno utils/5l/asm.c
    // https://bitbucket.org/inferno-os/inferno-os/src/master/utils/5l/asm.c
    //
    //	Copyright © 1994-1999 Lucent Technologies Inc.  All rights reserved.
    //	Portions Copyright © 1995-1997 C H Forsyth (******@****.***)
    //	Portions Copyright © 1997-1999 Vita Nuova Limited
    //	Portions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuova.com)
    //	Portions Copyright © 2004,2006 Bruce Ellis
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time.go

    	return string(buf)
    }
    
    // OpenAPISchemaType is used by the kube-openapi generator when constructing
    // the OpenAPI spec of this type.
    //
    // See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators
    func (_ Time) OpenAPISchemaType() []string { return []string{"string"} }
    
    // OpenAPISchemaFormat is used by the kube-openapi generator when constructing
    // the OpenAPI spec of this type.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/dom_test.go

    		verifyDominators(t, fun, dominators, doms)
    		verifyDominators(t, fun, dominatorsSimple, doms)
    	}
    }
    
    // generateDominatorMap uses dominatorsSimple to obtain a
    // reference dominator tree for testing faster algorithms.
    func generateDominatorMap(fut fun) map[string]string {
    	blockNames := map[*Block]string{}
    	for n, b := range fut.blocks {
    		blockNames[b] = n
    	}
    	referenceDom := dominatorsSimple(fut.f)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top