Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 217 for Potato (0.14 sec)

  1. cmd/batch-rotate.go

    	}, ObjectOptions{
    		VersionID: oi.VersionID,
    		NoLock:    true,
    	}); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    const (
    	batchKeyRotationName               = "batch-rotate.bin"
    	batchKeyRotationFormat             = 1
    	batchKeyRotateVersionV1            = 1
    	batchKeyRotateVersion              = batchKeyRotateVersionV1
    	batchKeyRotateAPIVersion           = "v1"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite_test.go

    	}
    
    	for i, v := range tests {
    		result := encodePPC64RotateMask(v.rotate, int64(v.mask), v.nbits)
    		if result != v.encoded {
    			t.Errorf("encodePPC64RotateMask(%d,0x%x,%d) = 0x%x, expected 0x%x", v.rotate, v.mask, v.nbits, result, v.encoded)
    		}
    		rotate, mb, me, mask := DecodePPC64RotateMask(result)
    		if rotate != v.rotate || mb != v.mb || me != v.me || mask != v.mask {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 21:57:02 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  3. test/fixedbugs/issue36259.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func rotate(s []int, m int) {
        l := len(s)
        m = m % l
        buf := make([]int, m)
    
        copy(buf, s)
        copy(s, s[m:])
        copy(s[l-m:], buf)
    }
    
    func main() {
        a0 := [...]int{1,2,3,4,5}
        println(a0[0])
    
        rotate(a0[:], 1)
        println(a0[0])
    
        rotate(a0[:], -3)
        println(a0[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 24 20:23:14 UTC 2020
    - 483 bytes
    - Viewed (0)
  4. 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)
  5. pkg/filewatcher/filewatcher_test.go

    	events1 := w.Events(watchFile1)
    	g.Expect(events1).NotTo(BeNil())
    	events2 := w.Events(watchFile2)
    	g.Expect(events2).NotTo(BeNil())
    
    	errors1 := w.Errors(watchFile1)
    	g.Expect(errors1).NotTo(BeNil())
    	errors2 := w.Errors(watchFile2)
    	g.Expect(errors2).NotTo(BeNil())
    
    	// Validate Remove behavior
    	err = w.Remove(watchFile1)
    	g.Expect(err).NotTo(HaveOccurred())
    	events1 = w.Events(watchFile1)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. 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)
  7. security/pkg/pki/ca/ca.go

    	MaxCertTTL     time.Duration
    	CARSAKeySize   int
    
    	KeyCertBundle *util.KeyCertBundle
    
    	// Config for creating self-signed root cert rotator.
    	RotatorConfig *SelfSignedCARootCertRotatorConfig
    
    	// OnRootCertUpdate is the cb which can only be called by self-signed root cert rotator
    	OnRootCertUpdate func() error
    }
    
    type RootCertUpdateFunc func() error
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  8. 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)
  9. cluster/gce/windows/common.psm1

          rotate
          return
        }
      }
    }
    
    # Rotate-Files rotates the log files in directory -Path that match -Pattern.
    # Rotation is performed by Rotate-File, according to -Config.
    function Rotate-Files {
      param (
        # Pattern that file names must match to be rotated. Does not include parent path.
        [parameter(Mandatory=$true)] [string]$Pattern,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 19 14:47:38 UTC 2022
    - 25.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Bytes.java

       * + i) mod array.length}. This is equivalent to {@code Collections.rotate(Bytes.asList(array),
       * distance)}, but is somewhat faster.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
       *
       * @since 32.0.0
       */
      public static void rotate(byte[] array, int distance) {
        rotate(array, distance, 0, array.length);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top