Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for trigger (0.17 sec)

  1. src/archive/zip/reader_test.go

    //			log.Fatal(err)
    //		}
    //
    //		biggerZip := makeZip("big.zip", bytes.NewReader(bigZip))
    //		if err := os.WriteFile("/tmp/bigger.zip", biggerZip, 0666); err != nil {
    //			log.Fatal(err)
    //		}
    //
    //		biggestZip := makeZip("bigger.zip", bytes.NewReader(biggerZip))
    //		if err := os.WriteFile("/tmp/biggest.zip", biggestZip, 0666); err != nil {
    //			log.Fatal(err)
    //		}
    //	}
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    spaces (U+0020), horizontal tabs (U+0009),
    carriage returns (U+000D), and newlines (U+000A),
    is ignored except as it separates tokens
    that would otherwise combine into a single token. Also, a newline or end of file
    may trigger the insertion of a <a href="#Semicolons">semicolon</a>.
    While breaking the input into tokens,
    the next token is the longest sequence of characters that form a
    valid token.
    </p>
    
    <h3 id="Semicolons">Semicolons</h3>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. src/bytes/buffer_test.go

    package bytes_test
    
    import (
    	. "bytes"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"math/rand"
    	"strconv"
    	"testing"
    	"unicode/utf8"
    )
    
    const N = 10000       // make this bigger for a larger (and slower) test
    var testString string // test data for write tests
    var testBytes []byte  // test data; same as testString but as a slice.
    
    type negativeReader struct{}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  4. src/archive/tar/reader.go

    	// Do this because Seek is often lazy about reporting errors; this will mask
    	// the fact that the stream may be truncated. We can rely on the
    	// io.CopyN done shortly afterwards to trigger any IO errors.
    	var seekSkipped int64 // Number of bytes skipped via Seek
    	if sr, ok := r.(io.Seeker); ok && n > 1 {
    		// Not all io.Seeker can actually Seek. For example, os.Stdin implements
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  5. doc/go_spec.html

    spaces (U+0020), horizontal tabs (U+0009),
    carriage returns (U+000D), and newlines (U+000A),
    is ignored except as it separates tokens
    that would otherwise combine into a single token. Also, a newline or end of file
    may trigger the insertion of a <a href="#Semicolons">semicolon</a>.
    While breaking the input into tokens,
    the next token is the longest sequence of characters that form a
    valid token.
    </p>
    
    <h3 id="Semicolons">Semicolons</h3>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    		t.Fatal(err)
    	}
    	if hdr.Linkname != longLinkname {
    		t.Fatal("Couldn't recover long link name")
    	}
    }
    
    func TestPaxNonAscii(t *testing.T) {
    	// Create an archive with non ascii. These should trigger a pax header
    	// because pax headers have a defined utf-8 encoding.
    	fileinfo, err := os.Stat("testdata/small.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	hdr, err := FileInfoHeader(fileinfo, "")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
Back to top