Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for numbertype (0.26 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    			obj:    objs(int64(10), 10.0, 10.49, 10.5, true, "10", "MTA=", "3723.004s", "1h2m3s4ms", "2011-08-18T19:03:37.01+01:00", "2011-08-18T19:03:37.01+01:00", "2011-08-18T00:00:00Z", "2011-08-18"),
    			schema: schemas(integerType, numberType, numberType, numberType, booleanType, stringType, byteType, stringType, durationFormat, stringType, dateTimeFormat, stringType, dateFormat),
    			expectCost: map[string]int64{
    				"int(self.val2) == self.val1":         6,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  2. src/encoding/json/decode.go

    	}
    	f, err := strconv.ParseFloat(s, 64)
    	if err != nil {
    		return nil, &UnmarshalTypeError{Value: "number " + s, Type: reflect.TypeFor[float64](), Offset: int64(d.off)}
    	}
    	return f, nil
    }
    
    var numberType = reflect.TypeFor[Number]()
    
    // literalStore decodes a literal stored in item into v.
    //
    // fromQuoted indicates whether this literal came from unwrapping a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    			obj:    objs(int64(10), 10.0, 10.49, 10.5, true, "10", "MTA=", "3723.004s", "1h2m3s4ms", "2011-08-18T19:03:37.01+01:00", "2011-08-18T19:03:37.01+01:00", "2011-08-18T00:00:00Z", "2011-08-18"),
    			schema: schemas(integerType, numberType, numberType, numberType, booleanType, stringType, byteType, stringType, durationFormat, stringType, dateTimeFormat, stringType, dateFormat),
    			valid: []string{
    				"int(self.val2) == self.val1",
    				"int(self.val3) == self.val1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  4. src/encoding/json/encode.go

    	e.Write(b)
    }
    
    var (
    	float32Encoder = (floatEncoder(32)).encode
    	float64Encoder = (floatEncoder(64)).encode
    )
    
    func stringEncoder(e *encodeState, v reflect.Value, opts encOpts) {
    	if v.Type() == numberType {
    		numStr := v.String()
    		// In Go1.5 the empty string encodes to "0", while this is not a valid number literal
    		// we keep compatibility so check validity after this.
    		if numStr == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

        .Output("o: float")
        .SetShapeFn(::tensorflow::shape_inference::UnknownShape);
    
    REGISTER_OP("AddNLikeTest")
        .Input("inputs: N * T")
        .Output("sum: T")
        .Attr("N: int >= 1")
        .Attr("T: numbertype")
        .SetIsCommutative()
        .SetIsAggregate();
    
    Node* Sequencer(const GraphDefBuilder::Options& opts,
                    const string& call_node_name) {
      if (opts.HaveError()) return nullptr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                        }
                        String memberType = (String) memberOf.get("@odata.type");
                        if (memberType == null) {
                            logger.warn("@odata.type is null: {}", memberOf);
                            continue;
                        }
                        memberType = memberType.toLowerCase(Locale.ENGLISH);
                        final String id = (String) memberOf.get("id");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. cluster/gce/windows/k8s-node-setup.psm1

      # (https://superuser.com/a/1160428/652018).
      $win_ver = New-Object -TypeName PSObject
      $win_ver | Add-Member -MemberType NoteProperty -Name Major -Value $(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion' CurrentMajorVersionNumber).CurrentMajorVersionNumber
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
Back to top