Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for did (0.12 sec)

  1. internal/s3select/select_test.go

    				if !testCase.wantErr {
    					t.Fatal(err)
    				}
    				t.Logf("got expected error: %v", err)
    				return
    			} else if testCase.wantErr {
    				t.Error("did not get expected error")
    				return
    			}
    
    			w := &testResponseWriter{}
    			s3Select.Evaluate(w)
    			s3Select.Close()
    			resp := http.Response{
    				StatusCode:    http.StatusOK,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users_test.go

    	c.Helper()
    	rd, err := client.GetObject(ctx, bucket, "some-object", minio.GetObjectOptions{})
    	if err != nil {
    		c.Fatalf("download did not succeed got %#v", err)
    	}
    	if _, err = io.Copy(io.Discard, rd); err != nil {
    		c.Fatalf("download did not succeed got %#v", err)
    	}
    }
    
    func (c *check) mustUploadReturnVersions(ctx context.Context, client *minio.Client, bucket string) []string {
    	c.Helper()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  3. internal/s3select/sql/statement.go

    		return true, nil
    	}
    	value, err := e.selectAST.Where.evalNode(input, e.tableAlias)
    	if err != nil {
    		return false, err
    	}
    
    	b, ok := value.ToBool()
    	if !ok {
    		err = fmt.Errorf("WHERE expression did not return bool")
    		return false, err
    	}
    
    	return b, nil
    }
    
    // AggregateRow - aggregates the input record. Applies only to
    // aggregation queries.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. internal/dsync/drwmutex.go

    					// so exit out and release any locks that did get acquired
    					done = true
    				}
    			}
    		case <-ctx.Done():
    			// Capture timedout locks as failed or took too long
    			locksFailed++
    			if locksFailed > tolerance {
    				// We know that we are not going to get the lock anymore,
    				// so exit out and release any locks that did get acquired
    				done = true
    			}
    		}
    
    		if done {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  5. cmd/dynamic-timeouts.go

    	return time.Duration(atomic.LoadInt64(&dt.timeout))
    }
    
    func (dt *dynamicTimeout) RetryInterval() time.Duration {
    	return dt.retryInterval
    }
    
    // LogSuccess logs the duration of a successful action that
    // did not hit the timeout
    func (dt *dynamicTimeout) LogSuccess(duration time.Duration) {
    	dt.logEntry(duration)
    }
    
    // LogFailure logs an action that hit the timeout
    func (dt *dynamicTimeout) LogFailure() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 19 23:21:05 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  6. cmd/main.go

    		console.Printf("‘%s’ is not a minio sub-command. See ‘minio --help’.\n", command)
    		closestCommands := findClosestCommands(command)
    		if len(closestCommands) > 0 {
    			console.Println()
    			console.Println("Did you mean one of these?")
    			for _, cmd := range closestCommands {
    				console.Printf("\t‘%s’\n", cmd)
    			}
    		}
    
    		os.Exit(1)
    	}
    
    	return app
    }
    
    func startupBanner(banner io.Writer) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  7. cmd/metacache-set.go

    		if newDisks != nil {
    			// If we found disks signature in quorum, we proceed to list
    			// from a single drive, shuffling of the drives is subsequently.
    			disks = newDisks
    			askDisks = 1
    		} else {
    			// If we did not find suitable disks, perform strict quorum listing
    			// as no disk agrees on quorum anymore.
    			askDisks = getListQuorum("strict", er.setDriveCount)
    		}
    	}
    
    	var fallbackDisks []StorageAPI
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  8. internal/grid/muxserver.go

    	if debugPrint {
    		fmt.Printf("muxServer: received message %d, length %d\n", msg.Seq, len(msg.Payload))
    	}
    	m.recvMu.Lock()
    	defer m.recvMu.Unlock()
    	if cap(m.inbound) == 0 {
    		m.disconnect("did not expect inbound message")
    		return
    	}
    	if !m.checkSeq(msg.Seq) {
    		return
    	}
    	// Note, on EOF no value can be sent.
    	if msg.Flags&FlagEOF != 0 {
    		if len(msg.Payload) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. internal/bucket/object/lock/lock.go

    	// ErrMalformedXML - generic error indicating malformed XML
    	ErrMalformedXML = errors.New("the XML you provided was not well-formed or did not validate against our published schema")
    )
    
    const (
    	ntpServerEnv = "MINIO_NTP_SERVER"
    )
    
    var ntpServer = env.Get(ntpServerEnv, "")
    
    // UTCNowNTP - is similar in functionality to UTCNow()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle.go

    	errLifecycleDuplicateID  = Errorf("Rule ID must be unique. Found same ID for more than one rule")
    	errXMLNotWellFormed      = Errorf("The XML you provided was not well-formed or did not validate against our published schema")
    )
    
    const (
    	// TransitionComplete marks completed transition
    	TransitionComplete = "complete"
    	// TransitionPending - transition is yet to be attempted
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top