Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 174 for numeric (0.12 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/DefaultVersionComparatorTest.groovy

            "1.0-ALPHA" | "1.0-alpha"
            "1.0.alpha" | "1.0.b"
            "alpha"     | "beta"
            "1.0-a"     | "1.0-alpha"
            "1.0-a"     | "1.0-a1"
        }
    
        def "numeric parts are considered larger than non-numeric ones"() {
            expect:
            compare(smaller, larger) < 0
            compare(larger, smaller) > 0
            compare(smaller, smaller) == 0
            compare(larger, larger) == 0
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. test/fixedbugs/bug255.go

    package main
    
    var a [10]int    // ok
    var b [1e1]int   // ok
    var c [1.5]int   // ERROR "truncated|must be integer"
    var d ["abc"]int // ERROR "invalid array bound|not numeric|must be integer"
    var e [nil]int   // ERROR "use of untyped nil|invalid array (bound|length)|not numeric|must be constant"
    // var f [e]int  // ok with Go 1.17 because an error was reported for e; leads to an error for Go 1.18
    var f [ee]int      // ERROR "undefined|undeclared"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 27 18:59:51 UTC 2023
    - 852 bytes
    - Viewed (0)
  3. test/fixedbugs/issue31747.go

    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    // numeric literals
    const (
    	_ = 1_000 // ERROR "underscore in numeric literal requires go1.13 or later \(-lang was set to go1.12; check go.mod\)|requires go1.13"
    	_ = 0b111 // ERROR "binary literal requires go1.13 or later"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 02:54:13 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/HtmlPageGenerator.java

                    td().classAttr("numeric").text(getFormattedConfidence(first.get(), last.get())).end();
    
                    String differenceCss = getDifferenceRatio(first.get(), last.get()).doubleValue() > 0 ? "max-value" : "min-value";
                    td().classAttr("numeric " + differenceCss).text(getFormattedDifference(first.get(), last.get())).end();
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. test/typeparam/absdiff3.go

    package main
    
    import (
    	"fmt"
    	"math"
    )
    
    type Numeric interface {
    	OrderedNumeric | Complex
    }
    
    // absDifference computes the absolute value of the difference of
    // a and b, where the absolute value is determined by the abs function.
    func absDifference[T Numeric](a, b T, abs func(a T) T) T {
    	return abs(a - b)
    }
    
    // OrderedNumeric matches numeric types that support the < operator.
    type OrderedNumeric interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/Version.java

        /**
         * Returns all the parts of this version. e.g. 1.2.3 returns [1,2,3] or 1.2-beta4 returns [1,2,beta,4].
         */
        String[] getParts();
    
        /**
         * Returns all the numeric parts of this version as {@link Long}, with nulls in non-numeric positions. eg. 1.2.3 returns [1,2,3] or 1.2-beta4 returns [1,2,null,4].
         */
        Long[] getNumericParts();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SID.java

         * If the sid cannot be resolved the numeric representation from
         * toString() is returned.
         * 
         * @return display format, potentially with resolved names
         */
        String toDisplayString ();
    
    
        /**
         * Return the sAMAccountName of this SID unless it could not
         * be resolved in which case the numeric RID is returned. If this
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  8. operator/pkg/util/util_test.go

    		},
    		{
    			desc: "false",
    			in:   "false",
    			want: false,
    		},
    		{
    			desc: "numeric-one",
    			in:   "1",
    			want: 1,
    		},
    		{
    			desc: "numeric-zero",
    			in:   "0",
    			want: 0,
    		},
    		{
    			desc: "numeric-large",
    			in:   "12345678",
    			want: 12345678,
    		},
    		{
    			desc: "numeric-negative",
    			in:   "-12345678",
    			want: -12345678,
    		},
    		{
    			desc: "float",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  9. src/strconv/doc.go

    // license that can be found in the LICENSE file.
    
    // Package strconv implements conversions to and from string representations
    // of basic data types.
    //
    // # Numeric Conversions
    //
    // The most common numeric conversions are [Atoi] (string to int) and [Itoa] (int to string).
    //
    //	i, err := strconv.Atoi("-42")
    //	s := strconv.Itoa(-42)
    //
    // These assume decimal and the Go int type.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/net/textproto/textproto.go

    // protocols in the style of HTTP, NNTP, and SMTP.
    //
    // The package provides:
    //
    // [Error], which represents a numeric error response from
    // a server.
    //
    // [Pipeline], to manage pipelined requests and responses
    // in a client.
    //
    // [Reader], to read numeric response code lines,
    // key: value headers, lines wrapped with leading spaces
    // on continuation lines, and whole text blocks ending
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top