Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 670 for big4 (0.11 sec)

  1. src/internal/types/testdata/check/importdecl0/importdecl0a.go

    )
    
    import "math" /* ERROR "imported and not used" */
    import m /* ERROR "imported as m and not used" */ "math"
    import _ "math"
    
    import (
    	"math/big" /* ERROR "imported and not used" */
    	b /* ERROR "imported as b and not used" */ "math/big"
    	_ "math/big"
    )
    
    import "fmt"
    import f1 "fmt"
    import f2 "fmt"
    
    // reflect.flag must not be visible in this package
    type flag int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. test/fixedbugs/issue15039.go

    package main
    
    func main() {
    	const fffd = "\uFFFD"
    
    	// runtime.intstring used to convert int64 to rune without checking
    	// for truncation.
    	u := uint64(0x10001f4a9)
    	big := string(u)
    	if big != fffd {
    		panic("big != bad")
    	}
    
    	// cmd/compile used to require integer constants to fit into an "int".
    	const huge = string(1<<100)
    	if huge != fffd {
    		panic("huge != bad")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 10:28:23 UTC 2016
    - 545 bytes
    - Viewed (0)
  3. src/embed/internal/embedtest/embedx_test.go

    	testString(t, string(glass2), "glass2", "I can eat glass and it doesn't hurt me.\n")
    
    	big, err := os.ReadFile("testdata/ascii.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    	testString(t, sbig, "sbig", string(big))
    	testString(t, sbig2, "sbig2", string(big))
    	testString(t, string(bbig), "bbig", string(big))
    	testString(t, string(bbig2), "bbig", string(big))
    
    	if t.Failed() {
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 15 20:37:17 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

      }
    
      public void testLimit_mark() throws Exception {
        byte[] big = newPreFilledByteArray(5);
        InputStream bin = new ByteArrayInputStream(big);
        InputStream lin = ByteStreams.limit(bin, 2);
    
        int read = lin.read();
        assertEquals(big[0], read);
        lin.mark(2);
    
        read = lin.read();
        assertEquals(big[1], read);
        read = lin.read();
        assertEquals(-1, read);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  5. src/math/rand/v2/regress_test.go

    					}
    					x = int(big)
    
    				case reflect.Uint:
    					if m.Name == "Uint" {
    						continue
    					}
    					big := uint64s[repeat%len(uint64s)]
    					if uint64(uint(big)) != big {
    						r.Uint64N(big) // what would happen on 64-bit machine, to keep stream in sync
    						if *update {
    							t.Fatalf("must run -update on 64-bit machine")
    						}
    						p++
    						continue
    					}
    					x = uint(big)
    
    				case reflect.Int32:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. src/internal/xcoff/ar.go

    }
    
    // Archive represents an open AIX big archive.
    type Archive struct {
    	ArchiveHeader
    	Members []*Member
    
    	closer io.Closer
    }
    
    // ArchiveHeader holds information about a big archive file header
    type ArchiveHeader struct {
    	magic string
    }
    
    // Member represents a member of an AIX big archive.
    type Member struct {
    	MemberHeader
    	sr *io.SectionReader
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:32:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		got    infDecAmount
    		expect string
    	}{
    		{bigDec(big.NewInt(1), 0), "1"},
    		{bigDec(big.NewInt(1), 1), "10"},
    		{bigDec(big.NewInt(5), 2), "500"},
    		{bigDec(big.NewInt(8), 3), "8000"},
    		{bigDec(big.NewInt(2), 0), "2"},
    		{bigDec(big.NewInt(1), -1), "0.1"},
    		{bigDec(big.NewInt(3), -2), "0.03"},
    		{bigDec(big.NewInt(4), -3), "0.004"},
    		{bigDec(big.NewInt(0).Add(bigMostPositive, big.NewInt(1)), 0), "9223372036854775808"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  8. src/go/importer/importer_test.go

    		mathBigInt := pkg.Scope().Lookup("Int")
    		posn := fset.Position(mathBigInt.Pos()) // "$GOROOT/src/math/big/int.go:25:1"
    		filename := strings.Replace(posn.Filename, "$GOROOT", testenv.GOROOT(t), 1)
    		data, err := os.ReadFile(filename)
    		if err != nil {
    			t.Fatalf("can't read file containing declaration of math/big.Int: %v", err)
    		}
    		lines := strings.Split(string(data), "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 25 21:16:32 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/crypto/cryptobyte/string.go

    	}
    	*out = uint8(v[0])
    	return true
    }
    
    // ReadUint16 decodes a big-endian, 16-bit value into out and advances over it.
    // It reports whether the read was successful.
    func (s *String) ReadUint16(out *uint16) bool {
    	v := s.read(2)
    	if v == nil {
    		return false
    	}
    	*out = uint16(v[0])<<8 | uint16(v[1])
    	return true
    }
    
    // ReadUint24 decodes a big-endian, 24-bit value into out and advances over it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. src/io/fs/format_test.go

    		"d home/gopher/",
    	},
    	{
    		formatTest{
    			name:    "big",
    			size:    0x7fffffffffffffff,
    			mode:    ModeIrregular | 0o644,
    			modTime: time.Date(1970, time.January, 1, 12, 0, 0, 0, time.UTC),
    			isDir:   false,
    		},
    		"?rw-r--r-- 9223372036854775807 1970-01-01 12:00:00 big",
    		"? big",
    	},
    	{
    		formatTest{
    			name:    "small",
    			size:    -0x8000000000000000,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 17:59:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top