Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 152 for stringer (0.12 sec)

  1. cmd/net.go

    func extractHostPort(hostAddr string) (string, string, error) {
    	var addr, scheme string
    
    	if hostAddr == "" {
    		return "", "", errors.New("unable to process empty address")
    	}
    
    	// Simplify the work of url.Parse() and always send a url with
    	if !strings.HasPrefix(hostAddr, "http://") && !strings.HasPrefix(hostAddr, "https://") {
    		hostAddr = "//" + hostAddr
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:34:00 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. docs/debugging/xattr/main.go

    	"github.com/pkg/xattr"
    )
    
    var (
    	path, name string
    	value      uint64
    	set, list  bool
    )
    
    func getxattr(path, name string) (uint64, error) {
    	buf, err := xattr.LGet(path, name)
    	if err != nil {
    		return 0, err
    	}
    
    	return binary.LittleEndian.Uint64(buf[:8]), nil
    }
    
    func listxattr(path string) ([]string, error) {
    	return xattr.LList(path)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 29 23:52:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. istioctl/pkg/multicluster/remote_secret.go

    func (at *RemoteSecretAuthType) String() string { return string(*at) }
    func (at *RemoteSecretAuthType) Type() string   { return "RemoteSecretAuthType" }
    func (at *RemoteSecretAuthType) Set(in string) error {
    	*at = RemoteSecretAuthType(in)
    	return nil
    }
    
    func (at *SecretType) String() string { return string(*at) }
    func (at *SecretType) Type() string   { return "SecretType" }
    func (at *SecretType) Set(in string) error {
    	*at = SecretType(in)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

          assertFalse(
              "Inverse should not contain value " + reversed.getValue(),
              inv.containsValue(reversed.getValue()));
          /*
           * TODO(cpovirk): This is a bit stronger than super.expectMissing(), which permits a <key,
           * someOtherValue> pair.
           */
          assertNull(
              "Inverse should not return a mapping for key " + reversed.getKey(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. cmd/net_test.go

    	testCases := []struct {
    		ipList       []string
    		sortedIPList []string
    	}{
    		// Default case of two ips one with higher octet moves
    		// to the beginning of the list.
    		{
    			ipList:       []string{"127.0.0.1", "10.0.0.13"},
    			sortedIPList: []string{"10.0.0.13", "127.0.0.1"},
    		},
    		// With multiple types of octet, chooses a higher octet.
    		{
    			ipList:       []string{"127.0.0.1", "172.0.21.1", "192.168.1.106"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload.go

    	tokenDuration  int64
    	name           string
    	serviceAccount string
    	filename       string
    	outputDir      string
    	clusterID      string
    	ingressIP      string
    	internalIP     string
    	externalIP     string
    	ingressSvc     string
    	autoRegister   bool
    	dnsCapture     bool
    	ports          []string
    	resourceLabels []string
    	annotations    []string
    	namespace      string
    )
    
    const (
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  7. docs/debugging/reorder-disks/main.go

    	"log"
    	"net/url"
    	"os"
    	"path/filepath"
    	"strings"
    	"syscall"
    
    	"github.com/minio/pkg/v3/ellipses"
    )
    
    type xl struct {
    	This string     `json:"this"`
    	Sets [][]string `json:"sets"`
    }
    
    type format struct {
    	ID string `json:"id"`
    	XL xl     `json:"xl"`
    }
    
    func getMountMap() (map[string]string, error) {
    	result := make(map[string]string)
    
    	mountInfo, err := os.Open("/proc/self/mountinfo")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/promotion/PublishBranchSnapshotFromQuickFeedback.kt

            val triggerName = this.triggerName
    
            params {
                param("branch.qualifier", "%dep.${RelativeId("Check_Stage_${triggerName}_Trigger")}.teamcity.build.branch%")
                text(
                    "branch.to.promote",
                    "%branch.qualifier%",
                    label = "Branch to promote",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. Dockerfile.release.fips

          description="MinIO object storage is fundamentally different. Designed for performance and the S3 API, it is 100% open-source. MinIO is ideal for large, private cloud environments with stringent security requirements and delivers mission-critical availability across a diverse range of workloads."
    
    ENV MINIO_ACCESS_KEY_FILE=access_key \
        MINIO_SECRET_KEY_FILE=secret_key \
        MINIO_ROOT_USER_FILE=access_key \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 15 23:10:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt

        failStage = performanceTestProject.spec.failsStage,
        init = {
            id("${performanceTestProject.spec.asConfigurationId(model)}_Trigger")
            val performanceTestSpec = performanceTestProject.spec
            name = performanceTestProject.name + " (Trigger)"
    
            val os = Os.LINUX
            val type = performanceTestSpec.type
    
            applyDefaultSettings(os)
            params {
                text(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 10 13:15:00 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top