Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 338 for setTypes (0.26 sec)

  1. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/ExpressionReplacingVisitorSupport.java

                replaceExpr(expr.getExpression()));
            result.setType(expr.getType());
            result.setSourcePosition(expr);
            replaceVisitedExpressionWith(result);
        }
    
        @Override
        public void visitNotExpression(NotExpression expr) {
            NotExpression result = new NotExpression(
                replaceExpr(expr.getExpression()));
            result.setType(expr.getType());
            result.setSourcePosition(expr);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/fiat/p384.go

    	p384InvertEndianness(out[:])
    	return out[:]
    }
    
    // SetBytes sets e = v, where v is a big-endian 48-byte encoding, and returns e.
    // If v is not 48 bytes or it encodes a value higher than 2^384 - 2^128 - 2^96 + 2^32 - 1,
    // SetBytes returns nil and an error, and e is unchanged.
    func (e *P384Element) SetBytes(v []byte) (*P384Element, error) {
    	if len(v) != p384ElementLen {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  3. src/crypto/internal/nistec/fiat/p521.go

    	p521ToBytes(out, (*p521UntypedFieldElement)(&tmp))
    	p521InvertEndianness(out[:])
    	return out[:]
    }
    
    // SetBytes sets e = v, where v is a big-endian 66-byte encoding, and returns e.
    // If v is not 66 bytes or it encodes a value higher than 2^521 - 1,
    // SetBytes returns nil and an error, and e is unchanged.
    func (e *P521Element) SetBytes(v []byte) (*P521Element, error) {
    	if len(v) != p521ElementLen {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  4. src/crypto/internal/edwards25519/edwards25519.go

    	return out
    }
    
    var feOne = new(field.Element).One()
    
    // SetBytes sets v = x, where x is a 32-byte encoding of v. If x does not
    // represent a valid point on the curve, SetBytes returns nil and an error and
    // the receiver is unchanged. Otherwise, SetBytes returns v.
    //
    // Note that SetBytes accepts all non-canonical encodings of valid points.
    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. src/cmd/compile/internal/typecheck/const.go

    			break
    		}
    		n = ir.NewConstExpr(v, n)
    		n.SetType(t)
    		return n
    
    	case ir.OPLUS, ir.ONEG, ir.OBITNOT, ir.ONOT, ir.OREAL, ir.OIMAG:
    		ot := operandType(n.Op(), t)
    		if ot == nil {
    			n = DefaultLit(n, nil)
    			break
    		}
    
    		n := n.(*ir.UnaryExpr)
    		n.X = convlit(n.X, ot)
    		if n.X.Type() == nil {
    			n.SetType(nil)
    			return n
    		}
    		n.SetType(t)
    		return n
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  6. src/crypto/internal/nistec/fiat/p224.go

    	p224ToBytes(out, (*p224UntypedFieldElement)(&tmp))
    	p224InvertEndianness(out[:])
    	return out[:]
    }
    
    // SetBytes sets e = v, where v is a big-endian 28-byte encoding, and returns e.
    // If v is not 28 bytes or it encodes a value higher than 2^224 - 2^96 + 1,
    // SetBytes returns nil and an error, and e is unchanged.
    func (e *P224Element) SetBytes(v []byte) (*P224Element, error) {
    	if len(v) != p224ElementLen {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

        void testGetType() {
            ToolchainModel model = new ToolchainModel();
            DefaultToolchain toolchain = newDefaultToolchain(model, "TYPE");
            assertEquals("TYPE", toolchain.getType());
    
            model.setType("MODEL_TYPE");
            toolchain = newDefaultToolchain(model);
            assertEquals("MODEL_TYPE", toolchain.getType());
        }
    
        @Test
        void testGetLogger() {
            ToolchainModel model = new ToolchainModel();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. src/crypto/internal/nistec/fiat/p256.go

    	p256InvertEndianness(out[:])
    	return out[:]
    }
    
    // SetBytes sets e = v, where v is a big-endian 32-byte encoding, and returns e.
    // If v is not 32 bytes or it encodes a value higher than 2^256 - 2^224 + 2^192 + 2^96 - 1,
    // SetBytes returns nil and an error, and e is unchanged.
    func (e *P256Element) SetBytes(v []byte) (*P256Element, error) {
    	if len(v) != p256ElementLen {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSetNodeInitializerExtractionStrategy.java

            public ModelView<ModelSet<T>> toView(MutableModelNode modelNode, ModelRuleDescriptor ruleDescriptor, boolean mutable) {
                ModelType<ModelSet<T>> setType = ModelTypes.modelSet(elementType);
                DefaultModelViewState state = new DefaultModelViewState(modelNode.getPath(), setType, ruleDescriptor, mutable, !mutable);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. src/crypto/internal/edwards25519/edwards25519_test.go

    	invalid := "efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f"
    	p := NewGeneratorPoint()
    	if out, err := p.SetBytes(decodeHex(invalid)); err == nil {
    		t.Error("expected error for invalid point")
    	} else if out != nil {
    		t.Error("SetBytes did not return nil on an invalid encoding")
    	} else if p.Equal(B) != 1 {
    		t.Error("the Point was modified while decoding an invalid encoding")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 18:45:00 UTC 2022
    - 9.3K bytes
    - Viewed (0)
Back to top