Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 277 for case2 (0.25 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

    							{Utilization: 0, Score: 10},
    							{Utilization: 100, Score: 0},
    						},
    					},
    				},
    			},
    			runPreScore: true,
    		},
    		{
    			name: "test case for ScoringStrategy RequestedToCapacityRatio case2",
    			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. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationInDynamicGroovyIntegrationTest.groovy

        /**
         * Produces a list of test cases. Each test case is itself a list of the following structure:
         * {@code [varInitializer, processCreator, expectedPwdSuffix, expectedEnvVar]}.
         * @return the list of test cases
         */
        abstract def testCases()
    
        /**
         * Produces a list of indy compilation modes. Each test case from {@link #testCases()} will run in every mode from the returned list.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/compile/internal/syntax/issues_test.go

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file holds test cases for individual issues
    // for which there is (currently) no better location.
    
    package syntax
    
    import (
    	"strings"
    	"testing"
    )
    
    func TestIssue67866(t *testing.T) {
    	var tests = []string{
    		"package p; var _ = T{@0: 0}",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute1StaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.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.9K bytes
    - Viewed (0)
  10. 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)
Back to top