Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 285 for to (0.14 sec)

  1. cmd/bucket-policy-handlers_test.go

    			t.Fatalf("Test %d: Failed to create HTTP request for PutBucketPolicyHandler: <ERROR> %v", i+1, err)
    		}
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    		// Call the ServeHTTP to execute the handler.
    		apiRouter.ServeHTTP(recV4, reqV4)
    		if recV4.Code != testPolicy.expectedRespStatus {
    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)
  2. src/archive/zip/writer.go

    	return err
    }
    
    // CreateRaw adds a file to the zip archive using the provided [FileHeader] and
    // returns a [Writer] to which the file contents should be written. The file's
    // contents must be written to the io.Writer before the next call to [Writer.Create],
    // [Writer.CreateHeader], [Writer.CreateRaw], or [Writer.Close].
    //
    // In contrast to [Writer.CreateHeader], the bytes passed to Writer are not compressed.
    //
    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)
  3. internal/dsync/drwmutex.go

    	// Return true if releaseAll was successful, otherwise we return 'false'
    	// to indicate we haven't sufficiently unlocked lockers to avoid deadlocks.
    	//
    	// Caller may use this as an indication to call again.
    	return !checkFailedUnlocks(*locks, tolerance)
    }
    
    // Unlock unlocks the write lock.
    //
    // It is a run-time error if dm is not locked on entry to Unlock.
    func (dm *DRWMutex) Unlock(ctx context.Context) {
    	dm.m.Lock()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users_test.go

    	if err != nil {
    		c.Fatalf("Unable to set user: %v", err)
    	}
    	// 3.1 check that user does not have any access to the bucket
    	uClient := s.getUserClient(c, accessKey, secretKey, "")
    	c.mustNotListObjects(ctx, uClient, "testbucket")
    
    	// 3.2 associate policy to user
    	err = s.adm.SetPolicy(ctx, policy1, accessKey, false)
    	if err != nil {
    		c.Fatalf("Unable to set policy: %v", err)
    	}
    
    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)
  5. operator/cmd/mesh/install.go

    )
    
    type InstallArgs struct {
    	// InFilenames is an array of paths to the input IstioOperator CR files.
    	InFilenames []string
    	// ReadinessTimeout is maximum time to wait for all Istio resources to be ready. wait must be true for this setting
    	// to take effect.
    	ReadinessTimeout time.Duration
    	// SkipConfirmation determines whether the user is prompted for confirmation.
    	// If set to true, the user is not prompted and a Yes response is assumed in all cases.
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/informers.go

    	switch event.Event {
    	case controllers.EventAdd:
    		// pod was added to our cache
    		// we get here in 2 cases:
    		// 1. new pod was created on our node
    		// 2. we were restarted and current existing pods are added to our cache
    
    		// We have no good way to distinguish between these two cases from here. But we don't need to!
    		// Existing pods will be handled by the dataplane using `GetAmbientPods`,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  7. tests/associations_test.go

    		t.Fatalf("Failed to migrate, got error: %v", err)
    	}
    
    	member := Member{Name: "foreign_key_constraints_belongs_to", Profile: Profile{Name: "my_profile_belongs_to", Refer: 1}}
    
    	DB.Create(&member)
    
    	var profile Profile
    	if err := DB.First(&profile, "id = ?", member.Profile.ID).Error; err != nil {
    		t.Fatalf("failed to find profile, got error: %v", err)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  8. src/bufio/bufio.go

    // the buffered reader to read from r.
    // Calling Reset on the zero value of [Reader] initializes the internal buffer
    // to the default size.
    // Calling b.Reset(b) (that is, resetting a [Reader] to itself) does nothing.
    func (b *Reader) Reset(r io.Reader) {
    	// If a Reader r is passed to NewReader, NewReader will return r.
    	// Different layers of code may do that, and then later pass r
    	// to Reset. Avoid infinite recursion in that case.
    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)
  9. src/archive/tar/reader.go

    package tar
    
    import (
    	"bytes"
    	"io"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"time"
    )
    
    // Reader provides sequential access to the contents of a tar archive.
    // Reader.Next advances to the next file in the archive (including the first),
    // and then Reader can be treated as an io.Reader to access the file's data.
    type Reader struct {
    	r    io.Reader
    	pad  int64      // Amount of padding (ignored) after current file entry
    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)
  10. misc/ios/go_ios_exec.go

    //
    // This script supports an extra flag, -lldb, that pauses execution
    // just before the main program begins and allows the user to control
    // the remote lldb session. This flag is appended to the end of the
    // script's arguments and is not passed through to the underlying
    // binary.
    //
    // This script requires that three environment variables be set:
    //
    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