Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Potato (0.14 sec)

  1. src/net/dnsconfig.go

    }
    
    // serverOffset returns an offset that can be used to determine
    // indices of servers in c.servers when making queries.
    // When the rotate option is enabled, this offset increases.
    // Otherwise it is always 0.
    func (c *dnsConfig) serverOffset() uint32 {
    	if c.rotate {
    		return atomic.AddUint32(&c.soffset, 1) - 1 // return 0 to start
    	}
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. security/pkg/credentialfetcher/plugin/gce.go

    	// When fails to get expiration time from token, always refresh the token.
    	if err != nil || exp.IsZero() {
    		return true
    	}
    	rotate := now.After(exp.Add(-gracePeriod))
    	gcecredLog.Debugf("credential expiration: %s, grace period: %s, should rotate: %t",
    		exp.String(), gracePeriod.String(), rotate)
    	return rotate
    }
    
    // GetPlatformCredential fetches the GCE VM identity jwt token from its metadata server,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/crypto/md5/gen.go

    	"dup":     dup,
    	"relabel": relabel,
    	"rotate":  rotate,
    	"idx":     idx,
    	"seq":     seq,
    }
    
    func dup(count int, x []int) []int {
    	var out []int
    	for i := 0; i < count; i++ {
    		out = append(out, x...)
    	}
    	return out
    }
    
    func relabel(s string) string {
    	return strings.NewReplacer("arg0", data.a, "arg1", data.b, "arg2", data.c, "arg3", data.d).Replace(s)
    }
    
    func rotate() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. internal/logger/logrotate.go

    			stdErrEnc.Encode(&log.Entry{
    				Level:   ErrorKind,
    				Message: msg,
    				Time:    time.Now().UTC(),
    				Trace:   &log.Trace{Message: msg},
    			})
    		}
    		if err := w.rotate(); err != nil {
    			msg := fmt.Sprintf("unable to rotate log file %v: %v", w.f.Name(), err)
    			stdErrEnc.Encode(&log.Entry{
    				Level:   ErrorKind,
    				Message: msg,
    				Time:    time.Now().UTC(),
    				Trace:   &log.Trace{Message: msg},
    			})
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/phases/init/kubeletfinalize.go

    	// Check for the existence of the kubelet-client-current.pem file in the kubelet certificate directory.
    	rotate := false
    	pemPath := filepath.Join(pkiPath, "kubelet-client-current.pem")
    	if _, err := os.Stat(pemPath); err == nil {
    		klog.V(1).Infof("[kubelet-finalize] Assuming that kubelet client certificate rotation is enabled: found %q", pemPath)
    		rotate = true
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 10:54:51 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. src/net/dnsconfig_unix.go

    					conf.timeout = time.Duration(n) * time.Second
    				case stringslite.HasPrefix(s, "attempts:"):
    					n, _, _ := dtoi(s[9:])
    					if n < 1 {
    						n = 1
    					}
    					conf.attempts = n
    				case s == "rotate":
    					conf.rotate = true
    				case s == "single-request" || s == "single-request-reopen":
    					// Linux option:
    					// http://man7.org/linux/man-pages/man5/resolv.conf.5.html
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:14:43 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_pods_windows_test.go

    	}
    
    	pod := v1.Pod{
    		Spec: v1.PodSpec{
    			HostNetwork: true,
    		},
    	}
    
    	fhu := hostutil.NewFakeHostUtil(nil)
    	fsp := &subpath.FakeSubpath{}
    	podDir, err := os.MkdirTemp("", "test-rotate-logs")
    	require.NoError(t, err)
    	defer os.RemoveAll(podDir)
    	mounts, _, err := makeMounts(&pod, podDir, &container, "fakepodname", "", []string{""}, podVolumes, fhu, fsp, nil, false)
    	require.NoError(t, err)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules

    (AND x:(MOVDconst [m]) n) && isPPC64ValidShiftMask(m) => (RLDICL [encodePPC64RotateMask(0,m,64)] n)
    (AND x:(MOVDconst [m]) n) && m != 0 && isPPC64ValidShiftMask(^m) => (RLDICR [encodePPC64RotateMask(0,m,64)] n)
    
    // If the RLDICL does not rotate its value, a shifted value can be merged.
    (RLDICL [em] x:(SRDconst [s] a)) && (em&0xFF0000) == 0 => (RLDICL [mergePPC64RLDICLandSRDconst(em, s)] a)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/security/first-steps.md

    Você verá algo deste tipo:
    
    <img src="/img/tutorial/security/image01.png">
    
    !!! check "Botão de Autorizar!"
    	Você já tem um novo "botão de autorizar!".
    
    	E seu *path operation* tem um pequeno cadeado no canto superior direito que você pode clicar.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. src/crypto/des/block.go

    	feistelBoxOnce.Do(initFeistelBox)
    
    	// apply PC1 permutation to key
    	key := byteorder.BeUint64(keyBytes)
    	permutedKey := permuteBlock(key, permutedChoice1[:])
    
    	// rotate halves of permuted key according to the rotation schedule
    	leftRotations := ksRotate(uint32(permutedKey >> 28))
    	rightRotations := ksRotate(uint32(permutedKey<<4) >> 4)
    
    	// generate subkeys
    	for i := 0; i < 16; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top