Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for Gilles (0.19 sec)

  1. cmd/storage-rest-server.go

    				// concurrently, check for it before we
    				// write the filler byte.
    				select {
    				case err := <-doneCh:
    					if err != nil {
    						write([]byte{1})
    						write([]byte(err.Error()))
    					} else {
    						write([]byte{0})
    					}
    					return
    				default:
    				}
    
    				// Response not ready, write a filler byte.
    				write([]byte{32})
    				if canWrite {
    					w.(http.Flusher).Flush()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  2. misc/cgo/gmp/gmp.go

    Instead, a separate tool, cgo, processes it to produce three output
    files.  The first two, 6g.go and 6c.c, are a Go source file for 6g and
    a C source file for 6c; both compile as part of the named package
    (gmp, in this example).  The third, gcc.c, is a C source file for gcc;
    it compiles into a shared object (.so) that is dynamically linked into
    any 6.out that imports the first two files.
    
    The stanza
    
    	// #include <gmp.h>
    	import "C"
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  3. src/archive/tar/reader.go

    	// Externally, Next iterates through the tar archive as if it is a series of
    	// files. Internally, the tar format often uses fake "files" to add meta
    	// data that describes the next file. These meta data "files" should not
    	// normally be visible to the outside. As such, this loop iterates through
    	// one or more "header files" until it finds a "normal file".
    	format := FormatUSTAR | FormatPAX | FormatGNU
    	for {
    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)
  4. internal/logger/message/audit/entry.go

    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // Version - represents the current version of audit log structure.
    const Version = "1"
    
    // NewEntry - constructs an audit entry object with some fields filled
    func NewEntry(deploymentID string) audit.Entry {
    	return audit.Entry{
    		Version:      Version,
    		DeploymentID: deploymentID,
    		Time:         time.Now().UTC(),
    	}
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  5. cmd/s3-zip-handlers.go

    	}
    	if err != nil {
    		return ListObjectsV2Info{}, err
    	}
    
    	files, err := zipindex.DeserializeFiles(zipInfo)
    	if err != nil {
    		return ListObjectsV2Info{}, err
    	}
    
    	sort.Slice(files, func(i, j int) bool {
    		return files[i].Name < files[j].Name
    	})
    
    	var (
    		count           int
    		isTruncated     bool
    		nextToken       string
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. cmd/admin-server-info.go

    	var memstats runtime.MemStats
    	runtime.ReadMemStats(&memstats)
    
    	gcStats := debug.GCStats{
    		// If stats.PauseQuantiles is non-empty, ReadGCStats fills
    		// it with quantiles summarizing the distribution of pause time.
    		// For example, if len(stats.PauseQuantiles) is 5, it will be
    		// filled with the minimum, 25%, 50%, 75%, and maximum pause times.
    		PauseQuantiles: make([]time.Duration, 5),
    	}
    	debug.ReadGCStats(&gcStats)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. internal/s3select/json/preader_test.go

    import (
    	"bytes"
    	"io"
    	"os"
    	"path/filepath"
    	"testing"
    
    	"github.com/minio/minio/internal/s3select/sql"
    )
    
    func TestNewPReader(t *testing.T) {
    	files, err := os.ReadDir("testdata")
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, file := range files {
    		t.Run(file.Name(), func(t *testing.T) {
    			f, err := os.Open(filepath.Join("testdata", file.Name()))
    			if err != nil {
    				t.Fatal(err)
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  8. cmd/sftp-server-driver.go

    		return nil, err
    	}
    
    	switch r.Method {
    	case "List":
    		var files []os.FileInfo
    
    		bucket, prefix := path2BucketObject(r.Filepath)
    		if bucket == "" {
    			buckets, err := clnt.ListBuckets(r.Context())
    			if err != nil {
    				return nil, err
    			}
    
    			for _, bucket := range buckets {
    				files = append(files, &minioFileInfo{
    					p:     bucket.Name,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  9. src/cmd/api/main_test.go

    	filenames := append(append([]string{}, info.GoFiles...), info.CgoFiles...)
    
    	// Parse package files.
    	var files []*ast.File
    	for _, file := range filenames {
    		f, err := w.parseFile(dir, file)
    		if err != nil {
    			log.Fatalf("error parsing package %s: %s", name, err)
    		}
    		files = append(files, f)
    	}
    
    	// Type-check package files.
    	var sizes types.Sizes
    	if w.context != nil {
    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)
  10. misc/ios/go_ios_exec.go

    		run_program()
    
    exitStatus = process.GetExitStatus()
    exitDesc = process.GetExitDescription()
    process.Kill()
    debugger.Terminate()
    if exitStatus == 0 and exitDesc is not None:
    	# Ensure tests fail when killed by a signal.
    	exitStatus = 123
    
    sys.exit(exitStatus)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
Back to top