Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for individual (0.17 sec)

  1. internal/logger/target/testlogger/testlogger.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Package testlogger contains an autoregistering logger that can be used to capture logging events
    // for individual tests.
    // This package should only be included by test files.
    // To enable logging for a test, use:
    //
    //	func TestSomething(t *testing.T) {
    //		defer testlogger.T.SetLogTB(t)()
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 4K bytes
    - Viewed (0)
  2. internal/s3select/sql/jsonpath.go

    )
    
    // jsonpathEval evaluates a JSON path and returns the value at the path.
    // If the value should be considered flat (from wildcards) any array returned should be considered individual values.
    func jsonpathEval(p []*JSONPathElement, v interface{}) (r interface{}, flat bool, err error) {
    	// fmt.Printf("JPATHexpr: %v jsonobj: %v\n\n", p, v)
    	if len(p) == 0 || v == nil {
    		return v, false, nil
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. internal/grid/msg.go

    	FlagEOF
    
    	// FlagStateless indicates the message is stateless.
    	// This will retain clients across reconnections or
    	// if sequence numbers are unexpected.
    	FlagStateless
    
    	// FlagPayloadIsErr can be used by individual ops to signify that
    	// The payload is a string error converted to byte slice.
    	FlagPayloadIsErr
    
    	// FlagPayloadIsZero means that payload is 0-length slice and not nil.
    	FlagPayloadIsZero
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v1.go

    	Minio struct {
    		Release string `json:"release"`
    	} `json:"minio"`
    	// Metadata map for current object `xl.meta`.
    	Meta map[string]string `json:"meta,omitempty"`
    	// Captures all the individual object `xl.meta`.
    	Parts []ObjectPartInfo `json:"parts,omitempty"`
    
    	// Dummy values used for legacy use cases.
    	VersionID string `json:"versionId,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-utils.go

    func hashDeterministicString(m map[string]string) uint64 {
    	// Seed (random)
    	crc := uint64(0xc2b40bbac11a7295)
    	// Xor each value to make order independent
    	for k, v := range m {
    		// Separate key and value with an individual xor with a random number.
    		// Add values of each, so they cannot be trivially collided.
    		crc ^= (xxh3.HashString(k) ^ 0x4ee3bbaf7ab2506b) + (xxh3.HashString(v) ^ 0x8da4c8da66194257)
    	}
    	return crc
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. cmd/storage-interface.go

    	String() string
    
    	// Storage operations.
    
    	// Returns true if disk is online and its valid i.e valid format.json.
    	// This has nothing to do with if the drive is hung or not responding.
    	// For that individual storage API calls will fail properly. The purpose
    	// of this function is to know if the "drive" has "format.json" or not
    	// if it has a "format.json" then is it correct "format.json" or not.
    	IsOnline() bool
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. internal/bucket/versioning/versioning.go

    var (
    	errExcludedPrefixNotSupported = Errorf("excluded prefixes extension supported only when versioning is enabled")
    	errTooManyExcludedPrefixes    = Errorf("too many excluded prefixes")
    )
    
    // ExcludedPrefix - holds individual prefixes excluded from being versioned.
    type ExcludedPrefix struct {
    	Prefix string
    }
    
    // Versioning - Configuration for bucket versioning.
    type Versioning struct {
    	XMLNS   string   `xml:"xmlns,attr,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  8. istioctl/pkg/metrics/metrics.go

    query results are printed to the console, organized by workload name.
    
    All metrics returned are from server-side reports. This means that latencies
    and error rates are from the perspective of the service itself and not of an
    individual client (or aggregate set of clients). Rates and latencies are
    calculated over a time interval of 1 minute.
    `,
    		Example: `  # Retrieve workload metrics for productpage-v1 workload
      istioctl experimental metrics productpage-v1
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  9. cmd/signature-v2_test.go

    			expected: ErrNone,
    		},
    		// (7) Should not error signature matches with no special query params.
    		{
    			queryParams: map[string]string{},
    			expected:    ErrNone,
    		},
    	}
    
    	// Run each test case individually.
    	for i, testCase := range testCases {
    		// Turn the map[string]string into map[string][]string, because Go.
    		query := url.Values{}
    		for key, value := range testCase.queryParams {
    			query.Set(key, value)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 8K bytes
    - Viewed (0)
  10. cmd/site-replication-utils.go

    		if !ok {
    			return
    		}
    		switch st.Status {
    		case ResyncCompleted, ResyncFailed:
    			return
    		default:
    			delete(st.BucketStatuses, b)
    		}
    	}
    }
    
    // returns overall resync status from individual bucket resync status map
    func siteResyncStatus(currSt ResyncStatusType, m map[string]ResyncStatusType) ResyncStatusType {
    	// avoid overwriting canceled resync status
    	if currSt != ResyncStarted {
    		return currSt
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.9K bytes
    - Viewed (1)
Back to top