Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 1,598 for var1 (0.08 sec)

  1. cni/pkg/plugin/sidecar_redirect.go

    	return false, annotationRegistry[name].defaultVal, nil
    }
    
    // NewRedirect returns a new Redirect Object constructed from a list of ports and annotations
    func NewRedirect(pi *PodInfo) (*Redirect, error) {
    	var isFound bool
    	var valErr error
    
    	redir := &Redirect{}
    	redir.targetPort = defaultRedirectToPort
    	isFound, redir.redirectMode, valErr = getAnnotationOrDefault("redirectMode", pi.Annotations)
    	if valErr != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. src/main/webapp/js/admin/plugins/form-validator/brazil.js

    n(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.formUtils.registerLoadedModule("brazil"),a.formUtils.addValidator({name:"cpf",validatorFunction:function(a){var b=a.replace(/\D/g,""),c=0,d=0,e=0,f=0;if(11!==b.length||"00000000000"===b)return!1;for(i=1;i<=9;i++)c+=parseInt(b.substring(i-1,i))*(11-i);if(e=10*c%11,e>=10&&(e=0),e!==parseInt(b.substring(9,10)))return!1;for(i=1;i<=10;i++)d+=parseInt(b.substring(...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  3. istioctl/pkg/root/root.go

    package root
    
    import (
    	"istio.io/istio/pkg/env"
    	"istio.io/istio/pkg/log"
    )
    
    const (
    	// Location to read istioctl defaults from
    	defaultIstioctlConfig = "$HOME/.istioctl/config.yaml"
    )
    
    var (
    	// IstioConfig is the name of the istioctl config file (if any)
    	IstioConfig = env.Register("ISTIOCONFIG", defaultIstioctlConfig,
    		"Default values for istioctl flags").Get()
    
    	LoggingOptions = defaultLogOptions()
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. cmd/data-usage.go

    			attempts = 1
    		}
    		if err = saveConfig(ctx, objAPI, dataUsageObjNamePath, dataUsageJSON); err != nil {
    			scannerLogOnceIf(ctx, err, dataUsageObjNamePath)
    		}
    		attempts++
    	}
    }
    
    var prefixUsageCache = cachevalue.New[map[string]uint64]()
    
    // loadPrefixUsageFromBackend returns prefix usages found in passed buckets
    //
    //	e.g.:  /testbucket/prefix => 355601334
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. cmd/erasure_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"crypto/rand"
    	"io"
    	"testing"
    )
    
    var erasureEncodeDecodeTests = []struct {
    	dataBlocks, parityBlocks   int
    	missingData, missingParity int
    	reconstructParity          bool
    	shouldFail                 bool
    }{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  6. internal/grid/types_test.go

    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalMSS(t *testing.T) {
    	v := MSS{"abc": "def", "ghi": "jkl"}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	var v2 MSS
    	left, err := v2.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) != 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. cmd/object-api-datatypes.go

    	dataUsageBucketLen  = 11
    	dataUsageVersionLen = 7
    )
    
    // ObjectsHistogramIntervalsV1 is the list of all intervals
    // of object sizes to be included in objects histogram(V1).
    var ObjectsHistogramIntervalsV1 = [dataUsageBucketLenV1]objectHistogramInterval{
    	{"LESS_THAN_1024_B", 0, humanize.KiByte - 1},
    	{"BETWEEN_1024B_AND_1_MB", humanize.KiByte, humanize.MiByte - 1},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. internal/mountinfo/mountinfo_linux_test.go

    		/dev/1    /path/to/1   type1	flags 1 1
    		/dev/2 /path/to/2 type2 flags,1,2=3 2 2
    		`
    	var err error
    	dir := t.TempDir()
    
    	mountsPath := filepath.Join(dir, "mounts")
    	if err = os.WriteFile(mountsPath, []byte(successCase), 0o666); err != nil {
    		t.Fatal(err)
    	}
    	// Verifies if reading each line worked properly.
    	{
    		var mounts mountInfos
    		mounts, err = readProcMounts(mountsPath)
    		if err != nil {
    			t.Fatal(err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. cmd/erasure-coding.go

    		return e, reedsolomon.ErrMaxShardNum
    	}
    
    	e = Erasure{
    		dataBlocks:   dataBlocks,
    		parityBlocks: parityBlocks,
    		blockSize:    blockSize,
    	}
    
    	// Encoder when needed.
    	var enc reedsolomon.Encoder
    	var once sync.Once
    	e.encoder = func() reedsolomon.Encoder {
    		once.Do(func() {
    			e, err := reedsolomon.New(dataBlocks, parityBlocks, reedsolomon.WithAutoGoroutines(int(e.ShardSize())))
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. api/go1.15.txt

    pkg bufio, var ErrBadReadCount error
    pkg crypto, method (Hash) String() string
    pkg crypto/ecdsa, func SignASN1(io.Reader, *PrivateKey, []uint8) ([]uint8, error)
    pkg crypto/ecdsa, func VerifyASN1(*PublicKey, []uint8, []uint8) bool
    pkg crypto/ecdsa, method (*PrivateKey) Equal(crypto.PrivateKey) bool
    pkg crypto/ecdsa, method (*PublicKey) Equal(crypto.PublicKey) bool
    pkg crypto/ed25519, method (PrivateKey) Equal(crypto.PrivateKey) bool
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jul 17 02:15:01 UTC 2020
    - 7.6K bytes
    - Viewed (0)
Back to top