Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 146 for normal (0.36 sec)

  1. src/builtin/builtin.go

    //
    //	x, ok := <-c
    //
    // will also set ok to false for a closed and empty channel.
    func close(c chan<- Type)
    
    // The panic built-in function stops normal execution of the current
    // goroutine. When a function F calls panic, normal execution of F stops
    // immediately. Any functions whose execution was deferred by F are run in
    // the usual way, and then F returns to its caller. To the caller G, the
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/post-policy_test.go

    			expectedRespStatus: http.StatusNoContent,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			dates:              []interface{}{curTimePlus5Min.Format(iso8601TimeFormat), curTime.Format(iso8601DateFormat), curTime.Format(yyyymmdd)},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  3. internal/grid/connection.go

    	// The connection will remain in this stat until the connection has been successfully re-established.
    	StateConnectionError
    
    	// StateShutdown is the state when the server has been shut down.
    	// This will not be used under normal operation.
    	StateShutdown
    
    	// MaxDeadline is the maximum deadline allowed,
    	// Approx 49 days.
    	MaxDeadline = time.Duration(math.MaxUint32) * time.Millisecond
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  4. cmd/format-erasure_test.go

    func TestFormatErasureEmpty(t *testing.T) {
    	format := newFormatErasureV3(1, 16)
    	format.Erasure.DistributionAlgo = formatErasureVersionV2DistributionAlgoV1
    	formats := make([]*formatErasureV3, 16)
    
    	for j := 0; j < 16; j++ {
    		newFormat := format.Clone()
    		newFormat.Erasure.This = format.Erasure.Sets[0][j]
    		formats[j] = newFormat
    	}
    
    	// empty format to indicate disk not found, but this
    	// empty should return false.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    			if err := tr.handleSparseFile(hdr, rawHdr); err != nil {
    				return nil, err
    			}
    
    			// Set the final guess at the format.
    			if format.has(FormatUSTAR) && format.has(FormatPAX) {
    				format.mayOnlyBe(FormatUSTAR)
    			}
    			hdr.Format = format
    			return hdr, nil // This is a file, so stop
    		}
    	}
    }
    
    // handleRegularFile sets up the current file reader and padding such that it
    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)
  6. cmd/format-erasure.go

    	format := &formatErasureV3{}
    	format.Version = formatMetaVersionV1
    	format.Format = formatBackendErasure
    	if setLen == 1 {
    		format.Format = formatBackendErasureSingle
    	}
    	format.ID = mustGetUUID()
    	format.Erasure.Version = formatErasureVersionV3
    	format.Erasure.DistributionAlgo = formatErasureVersionV3DistributionAlgoV3
    	format.Erasure.Sets = make([][]string, numSets)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  7. cmd/utils_test.go

    // Tests extracting bucket and objectname from various types of paths.
    func TestPath2BucketObjectName(t *testing.T) {
    	testCases := []struct {
    		path           string
    		bucket, object string
    	}{
    		// Test case 1 normal case.
    		{
    			path:   "/bucket/object",
    			bucket: "bucket",
    			object: "object",
    		},
    		// Test case 2 where url only has separator.
    		{
    			path:   SlashSeparator,
    			bucket: "",
    			object: "",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest-diff.go

    	selectResources string
    	// ignoreResources ignores all listed items during comparison. It uses the same list format as selectResources.
    	ignoreResources string
    	// renameResources identifies renamed resources before comparison.
    	// The format of each renaming pair is A->B, all renaming pairs are comma separated.
    	// e.g. Service:*:istio-pilot->Service:*:istio-control - rename istio-pilot service into istio-control
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. operator/cmd/mesh/profile-dump.go

    }
    
    // validateOutputFormatFlag validates if the output format is valid.
    func validateProfileOutputFormatFlag(outputFormat string) error {
    	switch outputFormat {
    	case jsonOutput, yamlOutput, flagsOutput:
    	default:
    		return fmt.Errorf("unknown output format: %s", outputFormat)
    	}
    	return nil
    }
    
    // yamlToFormat converts the generated yaml config to the expected format
    func yamlToFormat(yaml, outputFormat string) (string, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  10. logger/sql.go

    		case time.Time:
    			if v.IsZero() {
    				vars[idx] = escaper + tmFmtZero + escaper
    			} else {
    				vars[idx] = escaper + v.Format(tmFmtWithMS) + escaper
    			}
    		case *time.Time:
    			if v != nil {
    				if v.IsZero() {
    					vars[idx] = escaper + tmFmtZero + escaper
    				} else {
    					vars[idx] = escaper + v.Format(tmFmtWithMS) + escaper
    				}
    			} else {
    				vars[idx] = nullStr
    			}
    		case driver.Valuer:
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top