Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for api (0.12 sec)

  1. src/cmd/api/api_test.go

    		{
    			name: "contexts reconverging after api/next/* update",
    			features: []string{
    				"A",
    				"pkg syscall, type RawSockaddrInet6 struct",
    			},
    			required: []string{
    				"A",
    				"pkg syscall (darwin-amd64), type RawSockaddrInet6 struct", // api/go1.n.txt
    				"pkg syscall, type RawSockaddrInet6 struct",                // api/next/n.txt
    			},
    			ok:  true,
    			out: "",
    		},
    		{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/archive/zip/struct.go

    	}
    	return time.FixedZone("", int(offset/time.Second))
    }
    
    // msDosTimeToTime converts an MS-DOS date and time into a time.Time.
    // The resolution is 2s.
    // See: https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-dosdatetimetofiletime
    func msDosTimeToTime(dosDate, dosTime uint16) time.Time {
    	return time.Date(
    		// date bits 0-4: day of month; 5-8: month; 9-15: years since 1980
    		int(dosDate>>9+1980),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  3. src/archive/tar/format.go

    //
    // The Writer currently provides no support for sparse files.
    type Format int
    
    // Constants to identify various tar formats.
    const (
    	// Deliberately hide the meaning of constants from public API.
    	_ Format = (1 << iota) / 4 // Sequence of 0, 0, 1, 2, 4, 8, etc...
    
    	// FormatUnknown indicates that the format is unknown.
    	FormatUnknown
    
    	// The format of the original Unix V7 tar tool prior to standardization.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  4. src/archive/zip/reader_test.go

    			t.Errorf("Opening %q with fs.FS API succeeded", f.Name)
    		}
    	}
    	if !reflect.DeepEqual(names, entryNames) {
    		t.Errorf("Unexpected file entries: %q", names)
    	}
    	if _, err := r.Open(""); err == nil {
    		t.Errorf("Opening %q with fs.FS API succeeded", "")
    	}
    	if _, err := r.Open("test.txt"); err != nil {
    		t.Errorf("Error opening %q with fs.FS API: %v", "test.txt", 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)
  5. src/cmd/cgo/doc.go

    address of the struct and add the size of the struct.
    
    Cgo translates C types into equivalent unexported Go types.
    Because the translations are unexported, a Go package should not
    expose C types in its exported API: a C type used in one Go package
    is different from the same C type used in another.
    
    Any C function (even void functions) may be called in a multiple
    assignment context to retrieve both the return value (if any) and the
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  6. src/archive/tar/common.go

    // specify the fragments in the file that has data, and treat everything else as
    // having zero bytes. As such, the encoding and decoding logic in this package
    // deals with sparseDatas.
    //
    // However, the external API uses sparseHoles instead of sparseDatas because the
    // zero value of sparseHoles logically represents a normal file (i.e., there are
    // no holes in it). On the other hand, the zero value of sparseDatas implies
    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)
  7. src/cmd/api/main_test.go

    		required = append(required, fileFeatures(file, true)...)
    	}
    	exception := fileFeatures(filepath.Join(testenv.GOROOT(t), "api/except.txt"), false)
    
    	if exitCode == 1 {
    		t.Errorf("API database problems found")
    	}
    	if !compareAPI(bw, features, required, exception) {
    		t.Errorf("API differences found")
    	}
    }
    
    // export emits the exported package features.
    func (w *Walker) export(pkg *apiPackage) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top