Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 148 for Parallelism (0.15 sec)

  1. pkg/scheduler/apis/config/validation/validation_test.go

    		wantErrs field.ErrorList
    	}{
    		"good": {
    			config: validConfig,
    		},
    		"bad-parallelism-invalid-value": {
    			config: invalidParallelismValue,
    			wantErrs: field.ErrorList{
    				&field.Error{
    					Type:  field.ErrorTypeInvalid,
    					Field: "parallelism",
    				},
    			},
    		},
    		"bad-resource-name-not-set": {
    			config: resourceNameNotSet,
    			wantErrs: field.ErrorList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. pkg/registry/batch/job/strategy_test.go

    					Template:    validPodTemplateSpec,
    					Parallelism: ptr.To[int32](4),
    				},
    				Status: batch.JobStatus{
    					Active: 12,
    				},
    			},
    		},
    		"parallelism changes not allowed": {
    			job: &batch.Job{
    				ObjectMeta: validObjectMeta,
    				Spec: batch.JobSpec{
    					Selector:    validSelector,
    					Template:    validPodTemplateSpec,
    					Parallelism: ptr.To[int32](3),
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/StartParameterConverterTest.groovy

            def parameter = convert()
            parameter.logLevel == LogLevel.DEBUG
        }
    
        def "can provide parallelism option as command-line option"() {
            expect:
            def parameter = convert("--max-workers", "123")
            parameter.maxWorkerCount == 123
        }
    
        def "can provide parallelism option as system property on command-line"() {
            expect:
            def parameter = convert("-Dorg.gradle.workers.max=123")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go

    }
    
    // WithParallelism sets the Parallelism field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Parallelism field is set to the value of the last call.
    func (b *JobSpecApplyConfiguration) WithParallelism(value int32) *JobSpecApplyConfiguration {
    	b.Parallelism = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/embed/internal/embedtest/concurrency.txt

    Concurrency is not parallelism....
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 16:26:43 UTC 2020
    - 32 bytes
    - Viewed (0)
  6. src/embed/internal/embedtest/embedx_test.go

    	testFiles(t, global, "testdata/hello.txt", "hello, world\n")
    	testString(t, concurrency, "concurrency", "Concurrency is not parallelism.\n")
    	testString(t, string(glass), "glass", "I can eat glass and it doesn't hurt me.\n")
    	testString(t, concurrency2, "concurrency2", "Concurrency is not parallelism.\n")
    	testString(t, string(glass2), "glass2", "I can eat glass and it doesn't hurt me.\n")
    
    	big, err := os.ReadFile("testdata/ascii.txt")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 15 20:37:17 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_replace.txt

    # Modules can be replaced by local packages.
    cp go.mod.orig go.mod
    go mod edit -replace=rsc.io/quote/v3=./local/rsc.io/quote/v3
    go build -o a2.exe .
    exec ./a2.exe
    stdout 'Concurrency is not parallelism.'
    
    # The module path of the replacement doesn't need to match.
    # (For example, it could be a long-running fork with its own import path.)
    cp go.mod.orig go.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  8. pkg/apis/batch/validation/validation_test.go

    					Completions:    pointer.Int32(2),
    					Parallelism:    pointer.Int32(100000),
    				},
    			},
    		},
    		"valid parallelism and maxFailedIndexes for high completions when backoffLimitPerIndex is used": {
    			job: batch.Job{
    				ObjectMeta: validJobObjectMeta,
    				Spec: batch.JobSpec{
    					Completions:          pointer.Int32(100_000),
    					Parallelism:          pointer.Int32(100_000),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/concurrent/package-info.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    /**
     * Classes related to Gradle parallelism and concurrency.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 714 bytes
    - Viewed (0)
  10. pkg/scheduler/apis/config/validation/validation.go

    	}
    
    	profilesPath := field.NewPath("profiles")
    	if cc.Parallelism <= 0 {
    		errs = append(errs, field.Invalid(field.NewPath("parallelism"), cc.Parallelism, "should be an integer value greater than zero"))
    	}
    
    	if len(cc.Profiles) == 0 {
    		errs = append(errs, field.Required(profilesPath, ""))
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top