Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for fieldSub (0.24 sec)

  1. src/crypto/internal/mlkem768/mlkem768.go

    	var f ringElement
    	for i := 0; i < n; i += 2 {
    		b := B[i/2]
    		b_7, b_6, b_5, b_4 := b>>7, b>>6&1, b>>5&1, b>>4&1
    		b_3, b_2, b_1, b_0 := b>>3&1, b>>2&1, b>>1&1, b&1
    		f[i] = fieldSub(fieldElement(b_0+b_1), fieldElement(b_2+b_3))
    		f[i+1] = fieldSub(fieldElement(b_4+b_5), fieldElement(b_6+b_7))
    	}
    	return f
    }
    
    // nttElement is an NTT representation, an element of T_q, represented as an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  2. src/crypto/internal/mlkem768/mlkem768_test.go

    		for b := fieldElement(0); b < q; b++ {
    			got := fieldSub(a, b)
    			exp := (a - b + q) % q
    			if got != exp {
    				t.Fatalf("%d - %d = %d, expected %d", a, b, got, exp)
    			}
    		}
    	}
    }
    
    func TestFieldMul(t *testing.T) {
    	for a := fieldElement(0); a < q; a++ {
    		for b := fieldElement(0); b < q; b++ {
    			got := fieldMul(a, b)
    			exp := fieldElement((uint32(a) * uint32(b)) % q)
    			if got != exp {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/networking/v1/generated.pb.go

    			if b < 0x80 {
    				break
    			}
    		}
    		fieldNum := int32(wire >> 3)
    		wireType := int(wire & 0x7)
    		if wireType == 4 {
    			return fmt.Errorf("proto: HTTPIngressPath: wiretype end group for non-group")
    		}
    		if fieldNum <= 0 {
    			return fmt.Errorf("proto: HTTPIngressPath: illegal tag %d (wire type %d)", fieldNum, wire)
    		}
    		switch fieldNum {
    		case 1:
    			if wireType != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 158.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/authentication/v1/generated.pb.go

    			if b < 0x80 {
    				break
    			}
    		}
    		fieldNum := int32(wire >> 3)
    		wireType := int(wire & 0x7)
    		if wireType == 4 {
    			return fmt.Errorf("proto: BoundObjectReference: wiretype end group for non-group")
    		}
    		if fieldNum <= 0 {
    			return fmt.Errorf("proto: BoundObjectReference: illegal tag %d (wire type %d)", fieldNum, wire)
    		}
    		switch fieldNum {
    		case 1:
    			if wireType != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 72K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/autoscaling/v2/generated.pb.go

    				break
    			}
    		}
    		fieldNum := int32(wire >> 3)
    		wireType := int(wire & 0x7)
    		if wireType == 4 {
    			return fmt.Errorf("proto: ContainerResourceMetricSource: wiretype end group for non-group")
    		}
    		if fieldNum <= 0 {
    			return fmt.Errorf("proto: ContainerResourceMetricSource: illegal tag %d (wire type %d)", fieldNum, wire)
    		}
    		switch fieldNum {
    		case 1:
    			if wireType != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 162.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/resource/v1alpha2/generated.pb.go

    			if b < 0x80 {
    				break
    			}
    		}
    		fieldNum := int32(wire >> 3)
    		wireType := int(wire & 0x7)
    		if wireType == 4 {
    			return fmt.Errorf("proto: AllocationResult: wiretype end group for non-group")
    		}
    		if fieldNum <= 0 {
    			return fmt.Errorf("proto: AllocationResult: illegal tag %d (wire type %d)", fieldNum, wire)
    		}
    		switch fieldNum {
    		case 1:
    			if wireType != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 261.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/extensions/v1beta1/generated.pb.go

    			if b < 0x80 {
    				break
    			}
    		}
    		fieldNum := int32(wire >> 3)
    		wireType := int(wire & 0x7)
    		if wireType == 4 {
    			return fmt.Errorf("proto: DaemonSet: wiretype end group for non-group")
    		}
    		if fieldNum <= 0 {
    			return fmt.Errorf("proto: DaemonSet: illegal tag %d (wire type %d)", fieldNum, wire)
    		}
    		switch fieldNum {
    		case 1:
    			if wireType != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 293.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/flowcontrol/v1beta3/generated.pb.go

    				break
    			}
    		}
    		fieldNum := int32(wire >> 3)
    		wireType := int(wire & 0x7)
    		if wireType == 4 {
    			return fmt.Errorf("proto: ExemptPriorityLevelConfiguration: wiretype end group for non-group")
    		}
    		if fieldNum <= 0 {
    			return fmt.Errorf("proto: ExemptPriorityLevelConfiguration: illegal tag %d (wire type %d)", fieldNum, wire)
    		}
    		switch fieldNum {
    		case 1:
    			if wireType != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 141.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/flowcontrol/v1/generated.pb.go

    				break
    			}
    		}
    		fieldNum := int32(wire >> 3)
    		wireType := int(wire & 0x7)
    		if wireType == 4 {
    			return fmt.Errorf("proto: ExemptPriorityLevelConfiguration: wiretype end group for non-group")
    		}
    		if fieldNum <= 0 {
    			return fmt.Errorf("proto: ExemptPriorityLevelConfiguration: illegal tag %d (wire type %d)", fieldNum, wire)
    		}
    		switch fieldNum {
    		case 1:
    			if wireType != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 141.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apps/v1/generated.pb.go

    			if b < 0x80 {
    				break
    			}
    		}
    		fieldNum := int32(wire >> 3)
    		wireType := int(wire & 0x7)
    		if wireType == 4 {
    			return fmt.Errorf("proto: ControllerRevision: wiretype end group for non-group")
    		}
    		if fieldNum <= 0 {
    			return fmt.Errorf("proto: ControllerRevision: illegal tag %d (wire type %d)", fieldNum, wire)
    		}
    		switch fieldNum {
    		case 1:
    			if wireType != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 217.1K bytes
    - Viewed (0)
Back to top