Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 243 for case1 (0.04 sec)

  1. cmd/erasure-healing_test.go

    		expectedDangling bool
    	}{
    		{
    			name: "FileInfoExists-case1",
    			metaArr: []FileInfo{
    				{},
    				{},
    				fi,
    				fi,
    			},
    			errs: []error{
    				errFileNotFound,
    				errDiskNotFound,
    				nil,
    				nil,
    			},
    			dataErrs:         nil,
    			expectedMeta:     fi,
    			expectedDangling: false,
    		},
    		{
    			name: "FileInfoExists-case2",
    			metaArr: []FileInfo{
    				{},
    				{},
    				fi,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    		existingPods         []*v1.Pod
    		expectedPriorities   framework.NodeScoreList
    		nodeResourcesFitArgs config.NodeResourcesFitArgs
    		runPreScore          bool
    	}{
    		{
    			name: "test case for ScoringStrategy RequestedToCapacityRatio case1",
    			requestedPod: st.MakePod().
    				Req(map[v1.ResourceName]string{"cpu": "3000", "memory": "5000"}).
    				Obj(),
    			nodes: []*v1.Node{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/positions.go

    		// case *MapType:
    		// case *ChanType:
    
    		// statements
    		// case *EmptyStmt:
    		// case *LabeledStmt:
    		// case *BlockStmt:
    		// case *ExprStmt:
    		case *SendStmt:
    			m = n.Chan
    		// case *DeclStmt:
    		case *AssignStmt:
    			m = n.Lhs
    		// case *BranchStmt:
    		// case *CallStmt:
    		// case *ReturnStmt:
    		// case *IfStmt:
    		// case *ForStmt:
    		// case *SwitchStmt:
    		// case *SelectStmt:
    
    		// helper nodes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    				switch test.fault {
    				case MissingContentLength:
    					req.ContentLength = -1
    					// Setting the content length to a value greater than the max allowed size of a part.
    					// Used in test case  4.
    				case TooBigObject:
    					req.ContentLength = globalMaxObjectSize + 1
    					// Malformed signature.
    					// Used in test case  6.
    				case BadSignature:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute1StaticInstrumentationInDynamicGroovyWithoutIndyIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    /**
     * Test cases for single-argument {@code ProcessGroovyMethods.execute} with static import (Groovy produces a special byte code in this case):
     * <pre>
     *     import static org.codehaus.groovy.runtime.ProcessGroovyMethods.execute
     *     execute("echo 123")
     *     execute(["echo", "123"])
     * </pre>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. schema/naming.go

    	return ret
    }
    
    func (ns NamingStrategy) toSchemaName(name string) string {
    	result := strings.ReplaceAll(cases.Title(language.Und, cases.NoLower).String(strings.ReplaceAll(name, "_", " ")), " ", "")
    	for _, initialism := range commonInitialisms {
    		result = regexp.MustCompile(cases.Title(language.Und, cases.NoLower).String(strings.ToLower(initialism))+"([A-Z]|$|_)").ReplaceAllString(result, initialism+"$1")
    	}
    	return result
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute3StaticInstrumentationInDynamicGroovyWithoutIndyIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    /**
     * Test cases for single-argument {@code ProcessGroovyMethods.execute} with static import (Groovy produces a special byte code in this case):
     * <pre>
     *     import static org.codehaus.groovy.runtime.ProcessGroovyMethods.execute
     *     execute("echo 123", env, cwd)
     *     execute(["echo", "123"], env, cwd)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. pkg/config/security/security.go

    		return err
    	}
    	switch {
    	case hasPrefix(key, attrRequestHeader):
    		return validateMapKey(key)
    	case isEqual(key, attrSrcIP):
    		return ValidateIPs(values)
    	case isEqual(key, attrRemoteIP):
    		return ValidateIPs(values)
    	case isEqual(key, attrSrcNamespace):
    	case isEqual(key, attrSrcPrincipal):
    	case isEqual(key, attrRequestPrincipal):
    	case isEqual(key, attrRequestAudiences):
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:43:34 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. pilot/pkg/xds/delta.go

    	// Spontaneous DeltaDiscoveryRequests from the client.
    	// This can be done to dynamically add or remove elements from the tracked resource_names set.
    	// In this case response_nonce is empty.
    	spontaneousReq := request.ResponseNonce == ""
    	// It is invalid in the below two cases:
    	// 1. no subscribed resources change from spontaneous delta request.
    	// 2. subscribed resources changes from ACK.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  10. src/go/types/unify.go

    	// if there is an interface, the other type must implement the
    	// interface.
    	exact
    )
    
    func (m unifyMode) String() string {
    	switch m {
    	case 0:
    		return "inexact"
    	case assign:
    		return "assign"
    	case exact:
    		return "exact"
    	case assign | exact:
    		return "assign, exact"
    	}
    	return fmt.Sprintf("mode %d", m)
    }
    
    // unify attempts to unify x and y and reports whether it succeeded.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top