Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for setString (0.27 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/AbstractWritableResultsStore.groovy

                            String testClass = experimentTimes.getString(++resultIdx)
                            String testName = experimentTimes.getString(++resultIdx)
                            String testProject = experimentTimes.getString(++resultIdx)
                            OperatingSystem os = OperatingSystem.valueOf(experimentTimes.getString(++resultIdx))
                            long avgDuration = experimentTimes.getLong(++resultIdx)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/crypto/x509/oid.go

    	}
    	secondNum, oid, nextComponentExists = strings.Cut(oid, ".")
    
    	var (
    		first  = big.NewInt(0)
    		second = big.NewInt(0)
    	)
    
    	if _, ok := first.SetString(firstNum, 10); !ok {
    		return errInvalidOID
    	}
    	if _, ok := second.SetString(secondNum, 10); !ok {
    		return errInvalidOID
    	}
    
    	if first.Cmp(big.NewInt(2)) > 0 || (first.Cmp(big.NewInt(2)) < 0 && second.Cmp(big.NewInt(40)) >= 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/math/big/ratmarsh.go

    	return x.marshal(), nil
    }
    
    // UnmarshalText implements the [encoding.TextUnmarshaler] interface.
    func (z *Rat) UnmarshalText(text []byte) error {
    	// TODO(gri): get rid of the []byte/string conversion
    	if _, ok := z.SetString(string(text)); !ok {
    		return fmt.Errorf("math/big: cannot unmarshal %q into a *big.Rat", text)
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    			for i, ca := range secret.CertChain {
    				t := "Intermediate"
    				if i == 0 {
    					t = "Leaf"
    				} else if i == len(secret.CertChain)-1 {
    					t = "Root"
    				}
    				n := new(big.Int)
    				n, _ = n.SetString(ca.SerialNumber, 10)
    				fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%x\t%v\t%v\n",
    					secret.Identity, t, secret.State, certNotExpired(ca), n, valueOrNA(ca.ExpirationTime), valueOrNA(ca.ValidFrom))
    			}
    		}
    	}
    	return w.Flush()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 16:38:16 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/crypto/rsa/pss_test.go

    		t.Fatal(err)
    	}
    	err = VerifyPSS(&key.PublicKey, crypto.SHA256, digest[:], signature, nil)
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    func bigFromHex(hex string) *big.Int {
    	n, ok := new(big.Int).SetString(hex, 16)
    	if !ok {
    		panic("bad hex: " + hex)
    	}
    	return n
    }
    
    func intFromHex(hex string) int {
    	i, err := strconv.ParseInt(hex, 16, 32)
    	if err != nil {
    		panic(err)
    	}
    	return int(i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/providers/propertyConventionCallsites/groovy/build.gradle

    tasks.withType(GreetingTask).configureEach {
        // setting convention from build script
        guest.convention("Guest")
    }
    // end::convention-callsites-from-buildscript[]
    
    abstract class GreetingTask extends DefaultTask {
        // tag::convention-callsites-from-constructor[]
        // setting convention from constructor
        @Input
        abstract Property<String> getGuest()
    
        GreetingTask() {
            guest.convention("person2")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 16:56:11 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/providers/propertyConventionCallsites/kotlin/build.gradle.kts

    tasks.withType<GreetingTask>().configureEach {
        // setting convention from build script
        guest.convention("Guest")
    }
    // end::convention-callsites-from-buildscript[]
    
    abstract class GreetingTask : DefaultTask() {
        // tag::convention-callsites-from-constructor[]
        // setting convention from constructor
        @get:Input
        abstract val guest: Property<String>
    
        init {
            guest.convention("person2")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 16:56:10 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. cmd/veeam-sos-api.go

    //     that gets offloaded). The same registry key setting overwrites the storage-defined setting.
    //     Optional value, default 64, range: 1-unlimited
    //
    //   - <S3MultiObjectDeleteLimit>
    //     Some of the Veeam products use Multi Delete operations. This setting can reduce how many objects are included in one
    //     multi-delete operation. The same registry key setting overwrites the storage-defined setting.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 20 18:54:52 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/internal/godebugs/table.go

    package godebugs
    
    // An Info describes a single known GODEBUG setting.
    type Info struct {
    	Name    string // name of the setting ("panicnil")
    	Package string // package that uses the setting ("runtime")
    	Changed int    // minor version when default changed, if any; 21 means Go 1.21
    	Old     string // value that restores behavior prior to Changed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/99-minor/path/filepath/63703.md

    which was a source of many inconsistencies and bugs.
    This behavior is controlled by the `winsymlink` setting.
    For Go 1.23, it defaults to `winsymlink=1`.
    Previous versions default to `winsymlink=0`.
    
    On Windows, [EvalSymlinks] no longer tries to normalize
    volumes to drive letters, which was not always even possible.
    This behavior is controlled by the `winreadlinkvolume` setting.
    For Go 1.23, it defaults to `winreadlinkvolume=1`.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 20:57:18 UTC 2024
    - 545 bytes
    - Viewed (0)
Back to top