Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,002 for opticks (0.46 sec)

  1. src/testdata/Isaac.Newton-Opticks.txt

    FOOTNOTES:
    
    [C] _See our_ Author's Lectiones Opticæ § 10. _Sect. II. § 29. and Sect.
    III. Prop. 25._
    
    [D] See our Author's _Lectiones Opticæ_, Part. I. Sect. 1. §5.
    
    [E] _This is very fully treated of in our_ Author's Lect. Optic. _Part_
    I. _Sect._ II.
    
    [F] _See our_ Author's Lect. Optic. Part I. Sect. II. § 29.
    
    [G] _This is demonstrated in our_ Author's Lect. Optic. _Part_ I.
    _Sect._ IV. _Prop._ 37.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 01 16:16:21 UTC 2018
    - 553.9K bytes
    - Viewed (0)
  2. src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2

    artificial beam of Light XY. FOOTNOTES: [I] See p. 59. [J] _See our_ Author's Lect. Optic. _Part_ II. _Sect._ II. _p._ 239. [K] _As is done in our_ Author's Lect. Optic. _Part_ I. _Sect._ III. _and_ IV. _and Part_ II. _Sect._ II. [L] _See our_ Author's Lect. Optic. _Part_ II. _Sect._ II. _pag._ 269, &c. [M] _This is demonstrated in our_ Author's Lect. Optic. _Part_ I. _Sect._ IV. _Prop._ 35 _and_ 36. THE SECOND BOOK OF OPTICKS _PART I._ _Observations concerning the Reflexions, Refractions, and Colours of...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 24 18:26:02 UTC 2018
    - 129.4K bytes
    - Viewed (0)
  3. src/compress/flate/reader_test.go

    	// does not repeat, but there are only 10 possible digits, so it should be
    	// reasonably compressible.
    	{"Digits", "../testdata/e.txt"},
    	// Newton is Isaac Newtons's educational text on Opticks.
    	{"Newton", "../../testdata/Isaac.Newton-Opticks.txt"},
    }
    
    func BenchmarkDecode(b *testing.B) {
    	doBench(b, func(b *testing.B, buf0 []byte, level, n int) {
    		b.ReportAllocs()
    		b.StopTimer()
    		b.SetBytes(int64(n))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  4. src/internal/zstd/xxhash_test.go

    		}
    	}
    }
    
    func TestLargeXXHash(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping expensive test in short mode")
    	}
    
    	data, err := os.ReadFile("../../testdata/Isaac.Newton-Opticks.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var xh xxhash64
    	xh.reset()
    	i := 0
    	for i < len(data) {
    		// Write varying amounts to test buffering.
    		c := i%4094 + 1
    		if i+c > len(data) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:34:06 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. src/index/suffixarray/suffixarray_test.go

    	for i := 0; i < b.N; i++ {
    		New(data)
    	}
    }
    
    func makeText(name string) ([]byte, error) {
    	var data []byte
    	switch name {
    	case "opticks":
    		var err error
    		data, err = os.ReadFile("../../testdata/Isaac.Newton-Opticks.txt")
    		if err != nil {
    			return nil, err
    		}
    	case "go":
    		err := filepath.WalkDir("../..", func(path string, info fs.DirEntry, err error) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/compress/bzip2/bzip2_test.go

    	if n, err := r.Read(nil); n != 0 || err != nil {
    		t.Errorf("Read(nil) = (%d, %v), want (0, nil)", n, err)
    	}
    }
    
    var (
    	digits = mustLoadFile("testdata/e.txt.bz2")
    	newton = mustLoadFile("testdata/Isaac.Newton-Opticks.txt.bz2")
    	random = mustLoadFile("testdata/random.data.bz2")
    )
    
    func benchmarkDecode(b *testing.B, compressed []byte) {
    	// Determine the uncompressed size of testfile.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  7. src/compress/flate/deflate_test.go

    	{
    		"../testdata/e.txt",
    		"2.718281828...",
    		[...]int{100018, 50650, 50960, 51150, 50930, 50790, 50790, 50790, 50790, 50790, 43683},
    	},
    	{
    		"../../testdata/Isaac.Newton-Opticks.txt",
    		"Isaac.Newton-Opticks",
    		[...]int{567248, 218338, 198211, 193152, 181100, 175427, 175427, 173597, 173422, 173422, 325240},
    	},
    }
    
    func TestDeflateInflateString(t *testing.T) {
    	t.Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  8. src/internal/zstd/zstd_test.go

    )
    
    // bigData returns the contents of our large test file repeated multiple times.
    func bigData(t testing.TB) []byte {
    	bigDataOnce.Do(func() {
    		bigDataBytes, bigDataErr = os.ReadFile("../../testdata/Isaac.Newton-Opticks.txt")
    		if bigDataErr == nil {
    			bigDataBytes = bytes.Repeat(bigDataBytes, 20)
    		}
    	})
    	if bigDataErr != nil {
    		t.Fatal(bigDataErr)
    	}
    	return bigDataBytes
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:39:21 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. src/net/sendfile_test.go

    	"crypto/sha256"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"internal/poll"
    	"io"
    	"os"
    	"runtime"
    	"strconv"
    	"sync"
    	"testing"
    	"time"
    )
    
    const (
    	newton       = "../testdata/Isaac.Newton-Opticks.txt"
    	newtonLen    = 567198
    	newtonSHA256 = "d4a9ac22462b35e7821a4f2706c211093da678620a8f9997989ee7cf8d507bbd"
    )
    
    // expectSendfile runs f, and verifies that internal/poll.SendFile successfully handles
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. cmd/metacache-entries_test.go

    	want := []string{"src/compress/bzip2/bit_reader.go", "src/compress/bzip2/bzip2.go", "src/compress/bzip2/bzip2_test.go", "src/compress/bzip2/huffman.go", "src/compress/bzip2/move_to_front.go", "src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2", "src/compress/bzip2/testdata/e.txt.bz2", "src/compress/bzip2/testdata/fail-issue5747.bz2", "src/compress/bzip2/testdata/pass-random1.bin", "src/compress/bzip2/testdata/pass-random1.bz2", "src/compress/bzip2/testdata/pass-random2.bin", "...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
Back to top