Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1201 - 1210 of 1,384 for FUNC (0.05 sec)

  1. internal/init/init_darwin_amd64.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package init
    
    import (
    	"os"
    
    	"github.com/klauspost/cpuid/v2"
    )
    
    func init() {
    	// All MinIO operations must be under UTC.
    	os.Setenv("TZ", "UTC")
    
    	// Temporary workaround for
    	// https://github.com/golang/go/issues/49233
    	// Keep until upstream has been fixed.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Nov 04 23:44:38 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  2. internal/config/callhome/help.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package callhome
    
    import "github.com/minio/minio/internal/config"
    
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	// HelpCallhome - provides help for callhome config
    	HelpCallhome = config.HelpKVS{
    		config.HelpKV{
    			Key:         Enable,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 06 23:14:52 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. cmd/api-headers_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    )
    
    func TestNewRequestID(t *testing.T) {
    	// Ensure that it returns an alphanumeric result of length 16.
    	id := mustGetRequestID(UTCNow())
    
    	if len(id) != 16 {
    		t.Fail()
    	}
    
    	var e rune
    	for _, char := range id {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  4. internal/disk/disk_unix.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"syscall"
    )
    
    // SameDisk reports whether di1 and di2 describe the same disk.
    func SameDisk(disk1, disk2 string) (bool, error) {
    	st1 := syscall.Stat_t{}
    	st2 := syscall.Stat_t{}
    
    	if err := syscall.Stat(disk1, &st1); err != nil {
    		return false, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  5. cmd/api-resources_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/url"
    	"testing"
    )
    
    // Test list objects resources V2.
    func TestListObjectsV2Resources(t *testing.T) {
    	testCases := []struct {
    		values                               url.Values
    		prefix, token, startAfter, delimiter string
    		fetchOwner                           bool
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  6. cmd/bucket-encryption-handlers.go

    	bucketSSEConfig = "bucket-encryption.xml"
    )
    
    // PutBucketEncryptionHandler - Stores given bucket encryption configuration
    // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html
    func (api objectAPIHandlers) PutBucketEncryptionHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutBucketEncryption")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. cmd/metrics-v3-scanner.go

    		"Time elapsed (in seconds) since last scan activity.")
    )
    
    // loadClusterScannerMetrics - `MetricsLoaderFn` for cluster webhook
    // such as failed objects and directories scanned.
    func loadClusterScannerMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	m.Set(scannerBucketScansFinished, float64(globalScannerMetrics.lifetime(scannerMetricScanBucketDrive)))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 19:29:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. internal/s3select/sql/timestampfuncs_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package sql
    
    import (
    	"testing"
    	"time"
    )
    
    func TestParseAndDisplaySQLTimestamp(t *testing.T) {
    	beijing := time.FixedZone("", int((8 * time.Hour).Seconds()))
    	fakeLosAngeles := time.FixedZone("", -int((8 * time.Hour).Seconds()))
    	cases := []struct {
    		s string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  9. istioctl/cmd/options_test.go

          --log_target: The set of paths where to output the log. This can be any path as well as the special values stdout and stderr
    `
    
    func TestLogHelp(t *testing.T) {
    	var out bytes.Buffer
    	rootCmd := GetRootCmd([]string{"options"})
    	rootCmd.SetOut(&out)
    	rootCmd.SetErr(&out)
    
    	fErr := rootCmd.Execute()
    	if fErr != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 14 02:38:54 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/listener_test.go

    import (
    	"testing"
    
    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	listener "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3"
    
    	"istio.io/istio/pkg/wellknown"
    )
    
    func TestListenerFilter_Verify(t *testing.T) {
    	tests := []struct {
    		desc       string
    		inFilter   *ListenerFilter
    		inListener *listener.Listener
    		expect     bool
    	}{
    		{
    			desc: "filter-fields-empty",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Sep 11 15:29:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top