Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 5,127 for nile (0.15 sec)

  1. cmd/storage-rest-server.go

    		b, err := reader.ReadByte()
    		if err != nil {
    			return nil, err
    		}
    		// Check if we have a response ready or a filler byte.
    		switch b {
    		case 0:
    			return reader, nil
    		case 1:
    			errorText, err := io.ReadAll(reader)
    			if err != nil {
    				return nil, err
    			}
    			return nil, errors.New(string(errorText))
    		case 32:
    			continue
    		default:
    			return nil, fmt.Errorf("unexpected filler byte: %d", b)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  2. cmd/auth-handler_test.go

    	defer cancel()
    
    	objLayer, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    
    	if err = newTestConfig(globalMinioDefaultRegion, objLayer); err != nil {
    		t.Fatalf("unable initialize config file, %s", err)
    	}
    
    	creds, err := auth.CreateCredentials("myuser", "mypassword")
    	if err != nil {
    		t.Fatalf("unable create credential, %s", err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  3. internal/event/targetlist_test.go

    func (target ExampleTarget) Save(eventData Event) error {
    	return target.send(eventData)
    }
    
    // Store - Returns a nil store.
    func (target ExampleTarget) Store() TargetStore {
    	return nil
    }
    
    func (target ExampleTarget) send(eventData Event) error {
    	b := make([]byte, 1)
    	if _, err := rand.Read(b); err != nil {
    		panic(err)
    	}
    
    	time.Sleep(time.Duration(b[0]) * time.Millisecond)
    
    	if target.sendErr {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. cmd/metrics-v3-system-cpu.go

    	if found {
    		if cpuIdleMetric, ok := cpuResourceMetrics[getResourceKey(cpuIdle, nil)]; ok {
    			avgVal := math.Round(cpuIdleMetric.Avg*100) / 100
    			m.Set(sysCPUAvgIdle, avgVal)
    		}
    		if cpuIOWaitMetric, ok := cpuResourceMetrics[getResourceKey(cpuIOWait, nil)]; ok {
    			avgVal := math.Round(cpuIOWaitMetric.Avg*100) / 100
    			m.Set(sysCPUAvgIOWait, avgVal)
    		}
    	}
    	return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. cmd/format-erasure.go

    	if err != nil {
    		return nil, nil, err
    	}
    
    	version, err := formatGetBackendErasureVersion(formatData)
    	if err != nil {
    		return nil, nil, fmt.Errorf("Drive %s: %w", export, err)
    	}
    
    	migrate := func(formatPath string, formatData []byte) ([]byte, fs.FileInfo, error) {
    		if err = os.WriteFile(formatPath, formatData, 0o666); err != nil {
    			return nil, nil, err
    		}
    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. operator/cmd/mesh/operator-remove.go

    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			client, err := ctx.CLIClient()
    			if err != nil {
    				return err
    			}
    			l := clog.NewConsoleLogger(cmd.OutOrStdout(), cmd.OutOrStderr(), installerScope)
    			operatorRemove(cmd, client, rootArgs, orArgs, l)
    			return nil
    		},
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/configdump.go

    	if err != nil {
    		return err
    	}
    	out, err := protomarshal.ToJSONWithIndent(bootstrapDump, "    ")
    	if err != nil {
    		return fmt.Errorf("unable to marshal bootstrap in Envoy config dump: %v", err)
    	}
    	if outputFormat == "yaml" {
    		outbyte, err := yaml.JSONToYAML([]byte(out))
    		if err != nil {
    			return err
    		}
    		out = string(outbyte)
    	}
    	fmt.Fprintln(c.Stdout, out)
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 29 20:46:41 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. cmd/bucket-encryption-handlers.go

    	if _, err = objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	config, _, err := globalBucketMetadataSys.GetSSEConfig(bucket)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	configData, err := xml.Marshal(config)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. internal/disk/stat_freebsd.go

    //go:build freebsd
    // +build freebsd
    
    // Copyright (c) 2015-2021 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top