Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 93 for alice (0.34 sec)

  1. cmd/erasure-healing.go

    }
    
    func isAllVolumeNotFound(errs []error) bool {
    	return countErrs(errs, errVolumeNotFound) == len(errs)
    }
    
    // isAllNotFound will return if any element of the error slice is not
    // errFileNotFound, errFileVersionNotFound or errVolumeNotFound.
    // A 0 length slice will always return false.
    func isAllNotFound(errs []error) bool {
    	for _, err := range errs {
    		if err != nil {
    			switch err.Error() {
    			case errFileNotFound.Error():
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

         * 13.5.1.
         */
        private fun isEndToEnd(fieldName: String): Boolean {
          return !"Connection".equals(fieldName, ignoreCase = true) &&
            !"Keep-Alive".equals(fieldName, ignoreCase = true) &&
            !"Proxy-Authenticate".equals(fieldName, ignoreCase = true) &&
            !"Proxy-Authorization".equals(fieldName, ignoreCase = true) &&
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. callbacks/query.go

    			queryFields := db.QueryFields
    			if !queryFields {
    				switch db.Statement.ReflectValue.Kind() {
    				case reflect.Struct:
    					queryFields = db.Statement.ReflectValue.Type() != db.Statement.Schema.ModelType
    				case reflect.Slice:
    					queryFields = db.Statement.ReflectValue.Type().Elem() != db.Statement.Schema.ModelType
    				}
    			}
    
    			if queryFields {
    				stmt := gorm.Statement{DB: db}
    				// smaller struct
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Jan 29 03:34:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

      }
    
      /**
       * Regression test for an edge case where closing response body in the HTTP engine doesn't release
       * the corresponding stream allocation. This test keeps those response bodies alive and reads
       * them after the redirect has completed. This forces a connection to not be reused where it would
       * be otherwise.
       *
       *
       * This test leaks a response body by not closing it.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  5. schema/field.go

    		if field.HasDefaultValue && !skipParseDefaultValue && field.DataType == Time {
    			if t, err := now.Parse(field.DefaultValue); err == nil {
    				field.DefaultValueInterface = t
    			}
    		}
    	case reflect.Array, reflect.Slice:
    		if reflect.Indirect(fieldValue).Type().Elem() == ByteReflectType && field.DataType == "" {
    			field.DataType = Bytes
    		}
    	}
    
    	if dataTyper, ok := fieldValue.Interface().(GormDataTypeInterface); ok {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  6. cmd/erasure-healing-common_test.go

    func TestCommonTime(t *testing.T) {
    	// List of test cases for common modTime.
    	testCases := []struct {
    		times  []time.Time
    		time   time.Time
    		quorum int
    	}{
    		{
    			// 1. Tests common times when slice has varying time elements.
    			[]time.Time{
    				time.Unix(0, 1).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  7. cmd/signature-v2.go

    	// Decode signature string to binary byte-sequence representation is required
    	// as Base64 encoding of a value is not unique:
    	// For example "aGVsbG8=" and "aGVsbG8=\r" will result in the same byte slice.
    	signature1, err := base64.StdEncoding.DecodeString(sig1)
    	if err != nil {
    		return false
    	}
    	signature2, err := base64.StdEncoding.DecodeString(sig2)
    	if err != nil {
    		return false
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  8. cmd/peer-s3-client.go

    					queued: time.Now(),
    				})
    			}
    		}
    	}
    
    	result := make([]BucketInfo, 0, len(resultMap))
    	for _, bi := range resultMap {
    		result = append(result, bi)
    	}
    
    	sort.Slice(result, func(i, j int) bool {
    		return result[i].Name < result[j].Name
    	})
    
    	return result, nil
    }
    
    // GetBucketInfo returns bucket stat info about bucket on disk across all peers
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  9. istioctl/pkg/admin/istiodconfig.go

    	type scopeLogLevel struct {
    		ScopeName   string `json:"scope_name"`
    		LogLevel    string `json:"log_level"`
    		Description string `json:"description"`
    	}
    	allScopes, err := ga.client.GetScopes()
    	sort.Slice(allScopes, func(i, j int) bool {
    		return allScopes[i].Name < allScopes[j].Name
    	})
    	if err != nil {
    		return fmt.Errorf("could not get scopes information: %v", err)
    	}
    	var resultScopeLogLevel []*scopeLogLevel
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  10. cmd/erasure.go

    func getStorageInfo(disks []StorageAPI, endpoints []Endpoint, metrics bool) StorageInfo {
    	disksInfo := getDisksInfo(disks, endpoints, metrics)
    
    	// Sort so that the first element is the smallest.
    	sort.Slice(disksInfo, func(i, j int) bool {
    		return disksInfo[i].TotalSpace < disksInfo[j].TotalSpace
    	})
    
    	storageInfo := StorageInfo{
    		Disks: disksInfo,
    	}
    
    	storageInfo.Backend.Type = madmin.Erasure
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
Back to top