Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 85 for numeric (0.37 sec)

  1. src/database/sql/convert.go

    		dv.Set(sv.Convert(dv.Type()))
    		return nil
    	}
    
    	// The following conversions use a string value as an intermediate representation
    	// to convert between various numeric types.
    	//
    	// This also allows scanning into user defined types such as "type Int int64".
    	// For symmetry, also check for string destination types.
    	switch dv.Kind() {
    	case reflect.Pointer:
    		if src == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. src/net/url/url.go

    func (u *URL) Hostname() string {
    	host, _ := splitHostPort(u.Host)
    	return host
    }
    
    // Port returns the port part of u.Host, without the leading colon.
    //
    // If u.Host doesn't contain a valid numeric port, Port returns an empty string.
    func (u *URL) Port() string {
    	_, port := splitHostPort(u.Host)
    	return port
    }
    
    // splitHostPort separates host and port. If the port is not valid, it returns
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  3. pilot/pkg/xds/discovery.go

    	// and if it has a different alias we should use that a cluster ID for proxy.
    	ClusterAliases map[cluster.ID]cluster.ID
    
    	// pushVersion stores the numeric push version. This should be accessed via NextVersion()
    	pushVersion atomic.Uint64
    
    	// DiscoveryStartTime is the time since the binary started
    	DiscoveryStartTime time.Time
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 20:21:09 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"self.val3 > self.val9",
    
    				"self.val1 < self.val9",
    				"self.val3 > self.val9",
    
    				// Cross Type Numeric Comparisons: literal integers and floats
    				"5 < 10.0",
    				"15 > 10.0",
    
    				"5 < 10.0",
    				"15 > 10.0",
    
    				// Cross Type Numeric Comparisons: integers with literal floats
    				"self.val1 < 10.0",
    				"self.val3 > 10.0",
    			},
    		},
    		{name: "unicode strings",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    	}
    }
    
    // TestQuantityParseNonNumericPanic ensures that when a non-numeric string is parsed
    // it panics
    func TestQuantityParseNonNumericPanic(t *testing.T) {
    	defer func() {
    		if r := recover(); r == nil {
    			t.Errorf("MustParse did not panic")
    		}
    	}()
    	_ = MustParse("Non-Numeric")
    }
    
    // TestQuantityAddZeroPreservesSuffix verifies that a suffix is preserved
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.h"
    
    #include <cstdint>
    #include <map>
    #include <numeric>
    #include <string>
    #include <utility>
    
    #include "absl/log/check.h"
    #include "absl/log/log.h"
    #include "absl/status/status.h"
    #include "absl/strings/str_cat.h"
    #include "llvm/ADT/ArrayRef.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  7. src/runtime/extern.go

    external memory sources such as mappings of the binary itself, memory managed in
    other languages, and memory held by the operating system on behalf of the Go
    program. GOMEMLIMIT is a numeric value in bytes with an optional unit suffix.
    The supported suffixes include B, KiB, MiB, GiB, and TiB. These suffixes
    represent quantities of bytes as defined by the IEC 80000-13 standard. That is,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. cmd/kubelet/app/server.go

    // The drop-in configurations are processed in lexical order based on the file names. This means that the
    // configurations in files with lower numeric prefixes are applied first, followed by higher numeric prefixes.
    // For example, if the drop-in directory contains files named "10-config.conf" and "20-config.conf",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    )
    
    var (
    	// Errors that could happen while parsing a string.
    	ErrFormatWrong = errors.New("quantities must match the regular expression '" + splitREString + "'")
    	ErrNumeric     = errors.New("unable to parse numeric part of quantity")
    	ErrSuffix      = errors.New("unable to parse quantity's suffix")
    )
    
    // parseQuantityString is a fast scanner for quantity values.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    	assert.Error(t, err, "RunAsNonRoot should fail for non-numeric username")
    }
    
    func TestGenerateLinuxContainerConfigResources(t *testing.T) {
    	_, _, m, err := createTestRuntimeManager()
    	m.cpuCFSQuota = true
    
    	assert.NoError(t, err)
    
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top