Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 249 for Orig (2.32 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors_test.go

    		t.Run(fmt.Sprintf("Run %d/100", i), func(t *testing.T) {
    			orig := &v1.MutatingWebhook{}
    			f.Fuzz(orig)
    
    			// zero out any accessor type specific fields not included in the accessor
    			orig.ReinvocationPolicy = nil
    
    			uid := fmt.Sprintf("test.configuration.admission/%s/0", orig.Name)
    			accessor := NewMutatingWebhookAccessor(uid, "test.configuration.admission", orig)
    			if uid != accessor.GetUID() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. src/crypto/rsa/boring.go

    		return b.key, nil
    	}
    
    	b = new(boringPriv)
    	b.orig = copyPrivateKey(priv)
    
    	var N, E, D, P, Q, Dp, Dq, Qinv *big.Int
    	N = b.orig.N
    	E = big.NewInt(int64(b.orig.E))
    	D = b.orig.D
    	if len(b.orig.Primes) == 2 {
    		P = b.orig.Primes[0]
    		Q = b.orig.Primes[1]
    		Dp = b.orig.Precomputed.Dp
    		Dq = b.orig.Precomputed.Dq
    		Qinv = b.orig.Precomputed.Qinv
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. src/crypto/ecdsa/boring.go

    type boringPub struct {
    	key  *boring.PublicKeyECDSA
    	orig PublicKey
    }
    
    func boringPublicKey(pub *PublicKey) (*boring.PublicKeyECDSA, error) {
    	b := pubCache.Get(pub)
    	if b != nil && publicKeyEqual(&b.orig, pub) {
    		return b.key, nil
    	}
    
    	b = new(boringPub)
    	b.orig = copyPublicKey(pub)
    	key, err := boring.NewPublicKeyECDSA(b.orig.Curve.Params().Name, bbig.Enc(b.orig.X), bbig.Enc(b.orig.Y))
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/context.go

    	defer ctxt.mu.Unlock()
    
    	for _, e := range ctxt.typeMap[h] {
    		if identicalInstance(orig, targs, e.orig, e.targs) {
    			return e.instance
    		}
    		if debug {
    			// Panic during development to surface any imperfections in our hash.
    			panic(fmt.Sprintf("non-identical instances: (orig: %s, targs: %v) and %s", orig, targs, e.instance))
    		}
    	}
    
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:29:21 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. test/fixedbugs/issue35518.go

    package p
    
    type Node struct {
    	Orig *Node
    }
    
    var sink *Node
    
    func f1() {
    	var n Node // ERROR "."
    	n.Orig = &n
    
    	m := n // ERROR "."
    	sink = &m
    }
    
    func f2() {
    	var n1, n2 Node // ERROR "."
    	n1.Orig = &n2
    	n2 = n1
    
    	m := n2 // ERROR "."
    	sink = &m
    }
    
    func f3() {
    	var n1, n2 Node // ERROR "."
    	n1.Orig = &n1
    	n1.Orig = &n2
    
    	sink = n1.Orig.Orig
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 12 21:02:24 UTC 2019
    - 847 bytes
    - Viewed (0)
  6. src/go/types/context.go

    	defer ctxt.mu.Unlock()
    
    	for _, e := range ctxt.typeMap[h] {
    		if identicalInstance(orig, targs, e.orig, e.targs) {
    			return e.instance
    		}
    		if debug {
    			// Panic during development to surface any imperfections in our hash.
    			panic(fmt.Sprintf("non-identical instances: (orig: %s, targs: %v) and %s", orig, targs, e.instance))
    		}
    	}
    
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteIntegrationTest.groovy

            '''
    
            expect:
            succeeds("delete")
            assertTrue(orig.exists())
            assertFalse(subject.exists())
            assertFalse(keep.exists())
            assertFalse(remove.exists())
            assertFalse(link.exists())
        }
    
        protected void setupSymlinks() {
            orig = testDirectory.createDir('test/orig')
            keep = orig.createFile('keep')
    
            subject = testDirectory.createDir('test/subject')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 20 17:44:25 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/authentication/group/group_adder_test.go

    		t.Errorf("Unexpected groups\ngot:\t%#v\nwant:\t%#v", r.User.GetGroups(), want)
    	}
    
    	if got := toJson(response); got != orig {
    		t.Errorf("Expected response from delegate to be unmodified: orig=%v got=%v", orig, got)
    	}
    }
    
    func TestAuthenticatedGroupAdder(t *testing.T) {
    	tests := []struct {
    		name         string
    		inputUser    *user.DefaultInfo
    		expectedUser user.Info
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 11 20:04:50 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_get_local.txt

    env GO111MODULE=on
    go mod edit -fmt
    cp go.mod go.mod.orig
    
    # 'go get -u' within the main module should work, even if it has a local-only name.
    cp go.mod.orig go.mod
    go get -u ./...
    grep 'rsc.io/quote.*v1.5.2' go.mod
    grep 'golang.org/x/text.*v0.3.0' go.mod
    cp go.mod go.mod.implicitmod
    
    # 'go get -u local/...' should be equivalent to 'go get -u ./...'
    # (assuming no nested modules)
    cp go.mod.orig go.mod
    go get -u local/...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/alias.go

    // reporting).
    func (check *Checker) newAliasInstance(pos syntax.Pos, orig *Alias, targs []Type, ctxt *Context) *Alias {
    	assert(len(targs) > 0)
    	obj := NewTypeName(pos, orig.obj.pkg, orig.obj.name, nil)
    	rhs := check.subst(pos, orig.fromRHS, makeSubstMap(orig.TypeParams().list(), targs), nil, ctxt)
    	res := check.newAlias(obj, rhs)
    	res.orig = orig
    	res.tparams = orig.tparams
    	res.targs = newTypeList(targs)
    	return res
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top