Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TestGenerator (0.11 sec)

  1. pkg/controller/serviceaccount/tokens_controller_test.go

    	"k8s.io/client-go/kubernetes/fake"
    	core "k8s.io/client-go/testing"
    	"k8s.io/kubernetes/pkg/controller"
    	"k8s.io/kubernetes/test/utils/ktesting"
    )
    
    type testGenerator struct {
    	Token string
    	Err   error
    }
    
    func (t *testGenerator) GenerateToken(sc *jwt.Claims, pc interface{}) (string, error) {
    	return t.Token, t.Err
    }
    
    // emptySecretReferences is used by a service account without any secrets
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  2. src/crypto/internal/edwards25519/edwards25519_test.go

    		}
    		// xy = T/Z
    		lhs.Multiply(&p.x, &p.y)
    		rhs.Multiply(&p.z, &p.t)
    		if lhs.Equal(&rhs) != 1 {
    			t.Errorf("point %d is not valid\nX = %v\nY = %v\nZ = %v", i, p.x, p.y, p.z)
    		}
    	}
    }
    
    func TestGenerator(t *testing.T) {
    	// These are the coordinates of B from RFC 8032, Section 5.1, converted to
    	// little endian hex.
    	x := "1ad5258f602d56c9b2a7259560c72c695cdcd6fd31e2a4c0fe536ecdd3366921"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 18:45:00 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  3. pilot/pkg/security/authz/model/generator_test.go

    			}
    			principal := yamlPrincipal(t, tc.want)
    			if diff := cmp.Diff(got, principal, protocmp.Transform()); diff != "" {
    				t.Errorf("diff detected: %v", diff)
    			}
    		})
    	}
    }
    
    func TestGenerator(t *testing.T) {
    	cases := []struct {
    		name   string
    		g      generator
    		key    string
    		value  string
    		forTCP bool
    		want   any
    	}{
    		{
    			name:  "destIPGenerator",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. src/crypto/internal/edwards25519/edwards25519.go

    // NewIdentityPoint returns a new Point set to the identity.
    func NewIdentityPoint() *Point {
    	return new(Point).Set(identity)
    }
    
    // generator is the canonical curve basepoint. See TestGenerator for the
    // correspondence of this encoding with the values in RFC 8032.
    var generator, _ = new(Point).SetBytes([]byte{
    	0x58, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66,
    	0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 13 19:21:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. ChangeLog.md

    - [`KT-61526`](https://youtrack.jetbrains.com/issue/KT-61526) KJS: Compiled files clash with the new per-file granularity
    - [`KT-63359`](https://youtrack.jetbrains.com/issue/KT-63359) K2: support new ways to declare TestResult in JS TestGenerator lowering
    - [`KT-61929`](https://youtrack.jetbrains.com/issue/KT-61929) KJS: "IllegalStateException: No dispatch receiver parameter for FUN LOCAL_FUNCTION_FOR_LAMBDA" caused by `run` function in init block
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:14:23 UTC 2024
    - 292.1K bytes
    - Viewed (0)
Back to top