Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for greeting (0.22 sec)

  1. cmd/xl-storage_unix_test.go

    	}
    
    	// Attempt to create a volume to verify the permissions later.
    	// MakeVol creates 0777.
    	if err = disk.MakeVol(context.Background(), testCase.volName); err != nil {
    		t.Fatalf("Creating a volume failed with %s expected to pass.", err)
    	}
    
    	// Stat to get permissions bits.
    	st, err := os.Stat(path.Join(tmpPath, testCase.volName))
    	if err != nil {
    		t.Fatalf("Stat failed with %s expected to pass.", err)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jul 25 19:37:26 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users_test.go

    	if s.secure {
    		s.endpoint = strings.TrimPrefix(s.endPoint, "https://")
    	}
    
    	s.adm, err = madmin.New(s.endpoint, s.accessKey, s.secretKey, s.secure)
    	if err != nil {
    		c.Fatalf("error creating admin client: %v", err)
    	}
    	// Set transport, so that TLS is handled correctly.
    	s.adm.SetCustomTransport(s.TestSuiteCommon.client.Transport)
    
    	s.client, err = minio.New(s.endpoint, &minio.Options{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  3. cmd/erasure-encode.go

    		eof := err == io.EOF || err == io.ErrUnexpectedEOF
    		if n == 0 && total != 0 {
    			// Reached EOF, nothing more to be done.
    			break
    		}
    
    		// We take care of the situation where if n == 0 and total == 0 by creating empty data and parity files.
    		blocks, err = e.EncodeData(ctx, buf[:n])
    		if err != nil {
    			return 0, err
    		}
    
    		if err = writer.Write(ctx, blocks); err != nil {
    			return 0, err
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. misc/go_android_exec/exitcode_test.go

    		if err == nil || !wantErr.MatchString(err.Error()) {
    			t.Errorf("want error matching %s, got %s", wantErr, err)
    		}
    		// And it should flush all output (even if it looks
    		// like we may be getting an exit code)
    		if got := out.String(); text != got {
    			t.Errorf("want full output %q, got %q", text, got)
    		}
    	}
    	wantErr = regexp.MustCompile("^no exit code")
    	check("abc")
    	check("exitcode")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed May 03 14:54:58 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. cmd/bucket-policy-handlers_test.go

    	// HTTP request for testing when `objectLayer` is set to `nil`.
    	// There is no need to use an existing bucket and valid input for creating the request
    	// since the `objectLayer==nil`  check is performed before any other checks inside the handlers.
    	// The only aim is to generate an HTTP request in a way that the relevant/registered end point is evoked/called.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  6. gorm.go

    	NamingStrategy schema.Namer
    	// FullSaveAssociations full save associations
    	FullSaveAssociations bool
    	// Logger
    	Logger logger.Interface
    	// NowFunc the function to be used when creating a new timestamp
    	NowFunc func() time.Time
    	// DryRun generate sql without execute
    	DryRun bool
    	// PrepareStmt executes the given query in cached statement
    	PrepareStmt bool
    	// DisableAutomaticPing
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  7. cmd/object-api-options.go

    			Bucket: bucket,
    			Object: object,
    			Err:    err,
    		}
    	}
    
    	opts.VersionID = vid
    	opts.Versioned = versioned
    	opts.VersionSuspended = versionSuspended
    
    	// For directory objects skip creating new versions.
    	if isDirObject(object) && vid == "" {
    		opts.VersionID = nullVersionID
    	}
    
    	return opts, nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  8. operator/cmd/mesh/shared.go

    type applyOptions struct {
    	// Path to the kubeconfig file.
    	Kubeconfig string
    	// ComponentName of the kubeconfig context to use.
    	Context string
    	// DryRun performs all steps except actually applying the manifests or creating output dirs/files.
    	DryRun bool
    	// Maximum amount of time to wait for resources to be ready after install when Wait=true.
    	WaitTimeout time.Duration
    }
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. src/archive/zip/writer.go

    		}
    		fw.rawCount = &countWriter{w: fw.comp}
    		fw.header = h
    		ow = fw
    	}
    	w.dir = append(w.dir, h)
    	if err := writeHeader(w.cw, h); err != nil {
    		return nil, err
    	}
    	// If we're creating a directory, fw is nil.
    	w.last = fw
    	return ow, nil
    }
    
    func writeHeader(w io.Writer, h *header) error {
    	const maxUint16 = 1<<16 - 1
    	if len(h.Name) > maxUint16 {
    		return errLongName
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. src/bufio/bufio.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer
    // object, creating another object (Reader or Writer) that also implements
    // the interface but provides buffering and some help for textual I/O.
    package bufio
    
    import (
    	"bytes"
    	"errors"
    	"io"
    	"strings"
    	"unicode/utf8"
    )
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
Back to top