Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 303 for big4 (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/crypto/ecdsa/ecdsa_test.go

    	}
    
    	if r0.Cmp(r1) == 0 {
    		t.Errorf("two signatures of the same message produced the same nonce")
    	}
    }
    
    func fromHex(s string) *big.Int {
    	r, ok := new(big.Int).SetString(s, 16)
    	if !ok {
    		panic("bad hex")
    	}
    	return r
    }
    
    func TestVectors(t *testing.T) {
    	// This test runs the full set of NIST test vectors from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:58 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. src/crypto/aes/ctr_s390x.go

    const streamBufferSize = 32 * BlockSize
    
    type aesctr struct {
    	block   *aesCipherAsm          // block cipher
    	ctr     [2]uint64              // next value of the counter (big endian)
    	buffer  []byte                 // buffer for the encrypted counter values
    	storage [streamBufferSize]byte // array backing buffer slice
    }
    
    // NewCTR returns a Stream which encrypts/decrypts using the AES block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/syscall/mksyscall.pl

    my $libc = 0;
    my $tags = "";  # build tags
    my $newtags = ""; # new style build tags
    my $stdimports = 'import "unsafe"';
    my $extraimports = "";
    
    if($ARGV[0] eq "-b32") {
    	$_32bit = "big-endian";
    	shift;
    } elsif($ARGV[0] eq "-l32") {
    	$_32bit = "little-endian";
    	shift;
    }
    if($ARGV[0] eq "-plan9") {
    	$plan9 = 1;
    	shift;
    }
    if($ARGV[0] eq "-darwin") {
    	$darwin = 1;
    	$libc = 1;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. test/codegen/bits.go

    	io32[1] = io32[1] & 0xF0000FFF
    	// ppc64x: -"RLWNM", MOVD, AND
    	io32[2] = io32[2] & 0xFFFF0002
    
    	var bigc uint32 = 0x12345678
    	// ppc64x: "ANDCC\t[$]22136"
    	io16[0] = io16[0] & uint16(bigc)
    
    	// ppc64x: "ANDCC\t[$]120"
    	io8[0] = io8[0] & uint8(bigc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. ci/official/utilities/rename_and_verify_wheels.sh

    fi
    
    # Check if size is too big. TFCI_WHL_SIZE_LIMIT is in find's format, which can be
    # 'k' for kilobytes, 'M' for megabytes, or 'G' for gigabytes, and the + to indicate
    # "anything greater than" is added by the script.
    if [[ "$TFCI_WHL_SIZE_LIMIT_ENABLE" == "1" ]] && [[ -n "$(find . -iname "*.whl" -size "+$TFCI_WHL_SIZE_LIMIT")" ]]; then
      echo "Error: Generated wheel is too big! Limit is $TFCI_WHL_SIZE_LIMIT"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 21:16:27 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package configdump
    
    import (
    	"encoding/json"
    	"fmt"
    	"math/big"
    	"strings"
    	"text/tabwriter"
    	"time"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/log"
    )
    
    // PrintSecretDump prints just the secret config dump to the ConfigWriter stdout
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 16:38:16 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top