Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 83 for agaric (0.17 sec)

  1. internal/bucket/lifecycle/action_string.go

    package lifecycle
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[NoneAction-0]
    	_ = x[DeleteAction-1]
    	_ = x[DeleteVersionAction-2]
    	_ = x[TransitionAction-3]
    	_ = x[TransitionVersionAction-4]
    	_ = x[DeleteRestoredAction-5]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    				storeFilePath := pathJoin(deletePath, ".DS_Store")
    				_, err := Stat(storeFilePath)
    				// .DS_Store exists
    				if err == nil {
    					// delete first
    					Remove(storeFilePath)
    					// try again
    					Remove(deletePath)
    				}
    			}
    			// Ignore errors if the directory is not empty. The server relies on
    			// this functionality, and sometimes uses recursion that should not
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  3. cmd/dynamic-timeouts_test.go

    		timeout.LogSuccess(20 * time.Second)
    	}
    
    	adjustedAgain := timeout.Timeout()
    
    	if initial <= adjusted || adjusted <= adjustedAgain {
    		t.Errorf("Failure to decrease timeout multiple times, initial: %v, adjusted: %v, again: %v", initial, adjusted, adjustedAgain)
    	}
    }
    
    func TestDynamicTimeoutManyDecreases(t *testing.T) {
    	timeout := newDynamicTimeout(time.Minute, time.Second)
    
    	initial := timeout.Timeout()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  4. cmd/net.go

    	}
    
    	// Parse address to extract host and scheme field
    	u, err := url.Parse(hostAddr)
    	if err != nil {
    		return "", "", err
    	}
    
    	addr = u.Host
    	scheme = u.Scheme
    
    	// Use the given parameter again if url.Parse()
    	// didn't return any useful result.
    	if addr == "" {
    		addr = hostAddr
    		scheme = "http"
    	}
    
    	// At this point, addr can be one of the following form:
    	//	":9000"
    	//	"localhost:9000"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. internal/hash/reader.go

    	if t, ok := r.src.(etag.Tagger); ok {
    		return t.ETag()
    	}
    	return nil
    }
    
    // MD5Current returns the MD5 checksum of the content
    // that has been read so far.
    //
    // Calling MD5Current again after reading more data may
    // result in a different checksum.
    func (r *Reader) MD5Current() []byte {
    	if r.disableMD5 {
    		return r.checksum
    	}
    	return r.ETag()[:]
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  6. docs/bucket/replication/setup_ilm_expiry_replication.sh

    	echo "BUG: Removed ILM expiry rule not replicated to 'siteb'"
    	exit 1
    fi
    
    ## Check addition of new replication site to existing site replication setup
    # Add rules again as previous tests removed all
    ./mc ilm add sitea/bucket --transition-days 0 --transition-tier WARM-TIER --transition-days 0 --noncurrent-expire-days 2 --expire-days 3 --prefix "myprefix" --tags "tag1=val1&tag2=val2"
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    	}
    
    	// httptest Recorder to capture all the response by the http handler.
    	rec := httptest.NewRecorder()
    	// reading the body to preserve it so that it can be used again for second attempt of sending unsigned HTTP request.
    	// If the body is read in the handler the same request cannot be made use of.
    	buf, err := io.ReadAll(anonReq.Body)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  8. cmd/site-replication.go

    		// server configuration, and convert it to minio-go's
    		// replication configuration type (by converting to xml and
    		// parsing it back), use minio-go's add rule function, and
    		// finally convert it back to the server type (again via xml).
    		// This is needed as there is no add-rule function in the server
    		// yet.
    
    		// Though we do not check if the rule already exists, this is
    		// not a problem as we are always using the same replication
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  9. cmd/bucket-replication.go

    		default:
    			return re, fmt.Errorf("replication mrf: unknown version: %d", binary.LittleEndian.Uint16(data[2:4]))
    		}
    
    		// OK, parse data.
    		// ignore any parsing errors, we do not care this file is generated again anyways.
    		re.DecodeMsg(msgp.NewReader(rc))
    
    		return re, nil
    	}
    
    	globalLocalDrivesMu.RLock()
    	localDrives := cloneDrives(globalLocalDrives)
    	globalLocalDrivesMu.RUnlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  10. internal/logger/target/types/targettype_string.go

    package types
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[TargetConsole-1]
    	_ = x[TargetHTTP-2]
    	_ = x[TargetKafka-3]
    }
    
    const _TargetType_name = "ConsoleHTTPKafka"
    
    var _TargetType_index = [...]uint8{0, 7, 11, 16}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 10 18:20:21 GMT 2022
    - 703 bytes
    - Viewed (0)
Back to top