Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Sentry (0.23 sec)

  1. src/archive/zip/reader_test.go

    		}
    		t.FailNow()
    	}
    	info, err := dirEntries[0].Info()
    	if err != nil {
    		t.Fatalf("Error reading info entry: %v", err)
    	}
    	if name := info.Name(); name != "test.txt" {
    		t.Errorf("Inconsistent name in info entry: %v", name)
    	}
    }
    
    func TestUnderSize(t *testing.T) {
    	z, err := OpenReader("testdata/readme.zip")
    	if err != nil {
    		t.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

    and is not guaranteed to be the same from one iteration to the next.
    If a map entry that has not yet been reached is removed during iteration,
    the corresponding iteration value will not be produced. If a map entry is
    created during iteration, that entry may be produced during the iteration or
    may be skipped. The choice may vary for each entry created and from one
    iteration to the next.
    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/archive/tar/common.go

    // that they are interested in preserving.
    type Header struct {
    	// Typeflag is the type of header entry.
    	// The zero value is automatically promoted to either TypeReg or TypeDir
    	// depending on the presence of a trailing slash in Name.
    	Typeflag byte
    
    	Name     string // Name of file entry
    	Linkname string // Target name of link (valid for TypeLink or TypeSymlink)
    
    	Size  int64  // Logical file size in bytes
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  4. doc/go_spec.html

    and is not guaranteed to be the same from one iteration to the next.
    If a map entry that has not yet been reached is removed during iteration,
    the corresponding iteration value will not be produced. If a map entry is
    created during iteration, that entry may be produced during the iteration or
    may be skipped. The choice may vary for each entry created and from one
    iteration to the next.
    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)
  5. src/archive/tar/reader.go

    	for {
    		for i := 0; i < s.maxEntries(); i++ {
    			// This termination condition is identical to GNU and BSD tar.
    			if s.entry(i).offset()[0] == 0x00 {
    				break // Don't return, need to process extended headers (even if empty)
    			}
    			offset := p.parseNumeric(s.entry(i).offset())
    			length := p.parseNumeric(s.entry(i).length())
    			if p.err != nil {
    				return nil, p.err
    			}
    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)
  6. src/archive/tar/writer_test.go

    	tr := NewReader(&buf)
    
    	entries, err := fsys.ReadDir(".")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var curfname string
    	for _, entry := range entries {
    		curfname = entry.Name()
    		if entry.IsDir() {
    			curfname += "/"
    			continue
    		}
    		hdr, err := tr.Next()
    		if err == io.EOF {
    			break // End of archive
    		}
    		if err != nil {
    			t.Fatal(err)
    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)
  7. doc/go_mem.html

    sending an item acquires the semaphore, and receiving an item releases
    the semaphore.
    This is a common idiom for limiting concurrency.
    </p>
    
    <p>
    This program starts a goroutine for every entry in the work list, but the
    goroutines coordinate using the <code>limit</code> channel to ensure
    that at most three are running work functions at a time.
    </p>
    
    <pre>
    var limit = make(chan int, 3)
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/asm.go

    		return
    	}
    
    	// The addresses must not overlap. Easiest test: require monotonicity.
    	if lastAddr, ok := p.dataAddr[name]; ok && nameAddr.Offset < lastAddr {
    		p.errorf("overlapping DATA entry for %s", name)
    		return
    	}
    	p.dataAddr[name] = nameAddr.Offset + int64(sz)
    
    	switch valueAddr.Type {
    	case obj.TYPE_CONST:
    		switch sz {
    		case 1, 2, 4, 8:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top