Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 549 for true (0.13 sec)

  1. src/cmd/asm/internal/asm/expr_test.go

    	{"2|5", 2 | 5, true},
    	{"3^4", 3 ^ 4, true},
    	{"3*4", 3 * 4, true},
    	{"14/4", 14 / 4, true},
    	{"3<<4", 3 << 4, true},
    	{"48>>3", 48 >> 3, true},
    	{"3&9", 3 & 9, true},
    	// General
    	{"3*2+3", 3*2 + 3, true},
    	{"3+2*3", 3 + 2*3, true},
    	{"3*(2+3)", 3 * (2 + 3), true},
    	{"3*-(2+3)", 3 * -(2 + 3), true},
    	{"3<<2+4", 3<<2 + 4, true},
    	{"3<<2+4", 3<<2 + 4, true},
    	{"3<<(2+4)", 3 << (2 + 4), true},
    	// Junk at EOF.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. istioctl/pkg/waypoint/waypoint_test.go

    				makeGateway(constants.DefaultNamespaceWaypoint, "default", true, true),
    				makeGateway(constants.DefaultNamespaceWaypoint, "fake", true, true),
    			},
    			expectedOutFile: "default-gateway",
    		},
    		{
    			name: "all namespaces gateways",
    			args: strings.Split("list -A", " "),
    			gateways: []*gateway.Gateway{
    				makeGateway(constants.DefaultNamespaceWaypoint, "default", true, true),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 15:53:09 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    		}
    	}
    	return false
    }
    
    // Returns true if any of the given wildcard patterns match the matchStr.
    func hasPattern(patterns []string, matchStr string) bool {
    	for _, pattern := range patterns {
    		if ok := wildcard.MatchSimple(pattern, matchStr); ok {
    			return true
    		}
    	}
    	return false
    }
    
    // Returns the part file name which matches the partNumber and etag.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  4. cmd/erasure-server-pool-decom_test.go

    			expectedErr:    false,
    			expectedUpdate: true,
    		},
    		{
    			meta:           meta,
    			pools:          reducedPools,
    			name:           "Correct-Update",
    			expectedErr:    false,
    			expectedUpdate: true,
    		},
    		{
    			meta:           meta,
    			pools:          orderChangePools,
    			name:           "Invalid-Orderchange",
    			expectedErr:    false,
    			expectedUpdate: true,
    		},
    		{
    			meta:           nmeta1,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 03 16:47:40 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. internal/config/subnet/help.go

    			Optional:    true,
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         config.APIKey,
    			Type:        "string",
    			Description: "Subnet api key for the cluster" + defaultHelpPostfix(config.APIKey),
    			Optional:    true,
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         config.Proxy,
    			Type:        "string",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jul 13 19:24:47 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/filter.go

    				var and And
    				if err = d.DecodeElement(&and, &se); err != nil {
    					return err
    				}
    				f.And = and
    				f.andSet = true
    			case "Tag":
    				var tag Tag
    				if err = d.DecodeElement(&tag, &se); err != nil {
    					return err
    				}
    				f.Tag = tag
    				f.tagSet = true
    			case "ObjectSizeLessThan":
    				var sz int64
    				if err = d.DecodeElement(&sz, &se); err != nil {
    					return err
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. internal/event/target/nats_tls_contrib_test.go

    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject:       "test",
    		Secure:        true,
    		CertAuthority: path.Join("testdata", "contrib", "certs", "root_ca_cert.pem"),
    	}
    
    	con, err := clientConfig.connectNats()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  8. internal/config/policy/opa/help.go

    			Type:        "url",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         AuthToken,
    			Description: "[DEPRECATED] authorization token for OPA endpoint" + defaultHelpPostfix(AuthToken),
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    			Secret:      true,
    		},
    		config.HelpKV{
    			Key:         config.Comment,
    			Description: config.DefaultComment,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  9. src/bytes/example_test.go

    	// Output:
    	// true
    	// false
    	// true
    	// true
    }
    
    func ExampleContainsAny() {
    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), "fÄo!"))
    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), "去是伟大的."))
    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), ""))
    	fmt.Println(bytes.ContainsAny([]byte(""), ""))
    	// Output:
    	// true
    	// true
    	// false
    	// false
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  10. cmd/metacache-entries.go

    	} else if err != nil {
    		return true
    	}
    	// Fall back...
    	xlMeta, err := e.xlmeta()
    	if err != nil || len(xlMeta.versions) == 0 {
    		return true
    	}
    	return xlMeta.versions[0].header.Type == DeleteType
    }
    
    // isAllFreeVersions returns if all objects are free versions.
    // If metadata is NOT versioned false will always be returned.
    // If v2 and UNABLE to load metadata true will be returned.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
Back to top