Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 508 for bigN (0.84 sec)

  1. src/net/parse_test.go

    	switch runtime.GOOS {
    	case "android", "plan9", "windows", "wasip1":
    		t.Skipf("not supported on %s", runtime.GOOS)
    	}
    	filename := "/etc/services" // a nice big file
    
    	fd, err := os.Open(filename)
    	if err != nil {
    		// The file is missing even on some Unix systems.
    		t.Skipf("skipping because failed to open /etc/services: %v", err)
    	}
    	defer fd.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 00:04:48 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/net/parse.go

    // Bigger than we need, not too big to worry about overflow
    const big = 0xFFFFFF
    
    // Decimal to integer.
    // Returns number, characters consumed, success.
    func dtoi(s string) (n int, i int, ok bool) {
    	n = 0
    	for i = 0; i < len(s) && '0' <= s[i] && s[i] <= '9'; i++ {
    		n = n*10 + int(s[i]-'0')
    		if n >= big {
    			return big, i, false
    		}
    	}
    	if i == 0 {
    		return 0, 0, false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/crypto/x509/hybrid_pool_test.go

    // license that can be found in the LICENSE file.
    
    package x509_test
    
    import (
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/rand"
    	"crypto/tls"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"internal/testenv"
    	"math/big"
    	"runtime"
    	"testing"
    	"time"
    )
    
    func TestHybridPool(t *testing.T) {
    	t.Parallel()
    	if !(runtime.GOOS == "windows" || runtime.GOOS == "darwin" || runtime.GOOS == "ios") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:48:11 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AbstractClassGeneratorTestGroovy.groovy

     */
    
    package org.gradle.internal.instantiation.generator
    
    class AbstractClassGeneratorTestGroovy {
    
        public static class BeanWithGroovyBoolean {
            boolean smallB
            Boolean bigB
            Boolean mixedB
    
            boolean getMixedB() { mixedB }
    
            Boolean isMixedB() { mixedB }
    
            void setMixedB(Boolean mixedB) {
                this.mixedB = mixedB
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. src/math/big/floatmarsh.go

    // effect.
    func (z *Float) UnmarshalText(text []byte) error {
    	// TODO(gri): get rid of the []byte/string conversion
    	_, _, err := z.Parse(string(text), 0)
    	if err != nil {
    		err = fmt.Errorf("math/big: cannot unmarshal %q into a *big.Float (%v)", text, err)
    	}
    	return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/math/big/doc.go

    // Copyright 2009 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 big implements arbitrary-precision arithmetic (big numbers).
    The following numeric types are supported:
    
    	Int    signed integers
    	Rat    rational numbers
    	Float  floating-point numbers
    
    The zero value for an [Int], [Rat], or [Float] correspond to 0. Thus, new
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/crypto/cryptobyte/asn1.go

    			*uint, *uint8, *uint16, *uint32, *uint64, *[]byte:
    			reflect.ValueOf(out).Elem().Set(reflect.ValueOf(defaultValue))
    		case *big.Int:
    			if defaultValue, ok := defaultValue.(*big.Int); ok {
    				out.(*big.Int).Set(defaultValue)
    			} else {
    				panic("out points to big.Int, but defaultValue does not")
    			}
    		default:
    			panic("invalid integer type")
    		}
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/labels/labels.go

    // the maps but the value doesn't match, and returns false in other cases
    func Conflicts(labels1, labels2 Set) bool {
    	small := labels1
    	big := labels2
    	if len(labels2) < len(labels1) {
    		small = labels2
    		big = labels1
    	}
    
    	for k, v := range small {
    		if val, match := big[k]; match {
    			if val != v {
    				return true
    			}
    		}
    	}
    
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 14 16:39:04 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  9. src/encoding/binary/binary_test.go

    func TestLittleEndianPtrWrite(t *testing.T) { testWrite(t, LittleEndian, little, &s) }
    
    func TestBigEndianRead(t *testing.T)     { testRead(t, BigEndian, big, s) }
    func TestBigEndianWrite(t *testing.T)    { testWrite(t, BigEndian, big, s) }
    func TestBigEndianPtrWrite(t *testing.T) { testWrite(t, BigEndian, big, &s) }
    
    func TestReadSlice(t *testing.T) {
    	t.Run("Read", func(t *testing.T) {
    		slice := make([]int32, 2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  10. src/math/big/roundingmode_string.go

    // Code generated by "stringer -type=RoundingMode"; DO NOT EDIT.
    
    package big
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[ToNearestEven-0]
    	_ = x[ToNearestAway-1]
    	_ = x[ToZero-2]
    	_ = x[AwayFromZero-3]
    	_ = x[ToNegativeInf-4]
    	_ = x[ToPositiveInf-5]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:24:07 UTC 2023
    - 819 bytes
    - Viewed (0)
Back to top