Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,620 for Single (0.17 sec)

  1. platforms/documentation/docs/src/snippets/workerApi/workerDaemon/kotlin/build.gradle.kts

    // The parameters for a single unit of work
    interface ReverseParameters : WorkParameters {
        val fileToReverse : RegularFileProperty
        val destinationDir : DirectoryProperty
    }
    
    // The implementation of a single unit of work
    abstract class ReverseFile @Inject constructor(val fileSystemOperations: FileSystemOperations) : WorkAction<ReverseParameters> {
        override fun execute() {
            val fileToReverse = parameters.fileToReverse.asFile.get()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/dupLoad_test.go

    // license that can be found in the LICENSE file.
    
    // This test makes sure that we don't split a single
    // load up into two separate loads.
    
    package main
    
    import "testing"
    
    //go:noinline
    func read1(b []byte) (uint16, uint16) {
    	// There is only a single read of b[0].  The two
    	// returned values must have the same low byte.
    	v := b[0]
    	return uint16(v), uint16(v) | uint16(b[1])<<8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  3. pkg/registry/rbac/validation/policy_compact.go

    	for _, simpleRule := range simpleRules {
    		compacted = append(compacted, *simpleRule)
    	}
    
    	return compacted, nil
    }
    
    // isSimpleResourceRule returns true if the given rule contains verbs, a single resource, a single API group, at most one Resource Name, and no other values
    func isSimpleResourceRule(rule *rbacv1.PolicyRule) (simpleResource, bool) {
    	resource := simpleResource{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 22 12:17:05 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  4. src/html/template/context.go

    // mode, but also contains state that does not correspond to anything in the
    // HTML5 parsing algorithm because a single token production in the HTML
    // grammar may contain embedded actions in a template. For instance, the quoted
    // HTML attribute produced by
    //
    //	<div title="Hello {{.World}}">
    //
    // is a single token in HTML's grammar but in a template spans several nodes.
    type state uint8
    
    //go:generate stringer -type state
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/DefaultBinaryTasksCollectionTest.groovy

        }
    
        def "returns null for missing single task with type"() {
            expect:
            tasks.findSingleTaskWithType(Copy) == null
        }
    
        def "returns single task with type"() {
            def copyTask = Mock(Copy)
            when:
            tasks.add(copyTask)
    
            then:
            tasks.findSingleTaskWithType(Copy) == copyTask
        }
    
        def "fails finding single task with type where multiple exist"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/LocalOriginDependencyMetadata.java

    import java.util.List;
    
    /**
     * A dependency that is defined locally in a build script, not resolved from a repository.
     * This has a simplified model of a dependency, that maps from a single module configuration to a single target configuration.
     */
    public interface LocalOriginDependencyMetadata extends ForcingDependencyMetadata {
    
        @Override
        LocalOriginDependencyMetadata withTarget(ComponentSelector target);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 19:31:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/workerApi/workerDaemon/groovy/build.gradle

    // The parameters for a single unit of work
    interface ReverseParameters extends WorkParameters {
        RegularFileProperty getFileToReverse()
        DirectoryProperty getDestinationDir()
    }
    
    // The implementation of a single unit of work.
    abstract class ReverseFile implements WorkAction<ReverseParameters> {
        private final FileSystemOperations fileSystemOperations
    
        @Inject
        public ReverseFile(FileSystemOperations fileSystemOperations) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/ListenerManager.java

        /**
         * Adds a listener.  A single object can implement multiple interfaces, and all interfaces are registered by a
         * single invocation of this method.  There is no order dependency: if a broadcaster has already been made for type
         * T, the listener will be registered with it if <code>(listener instanceof T)</code> returns true.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/sds/writer_test.go

    			format:     TABULAR,
    			items:      []SecretItem{},
    			expected:   []string{},
    			unexpected: secretItemColumns,
    		},
    		{
    			name:   "test tabular output with a single secret item",
    			format: TABULAR,
    			items: []SecretItem{
    				{
    					Name:        "olinger",
    					Data:        "certdata",
    					Source:      "source",
    					Destination: "destination",
    					SecretMeta: SecretMeta{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  10. src/internal/types/testdata/fixedbugs/issue51229.go

    func _() {
    	// P can be inferred as there's a single specific type and no tilde.
    	var _ chan int = ch1 /* ERRORx `cannot use ch1.*value of type chan<- int` */ ()
    	var _ chan<- int = ch1()
    
    	// P cannot be inferred as there's a tilde.
    	ch2 /* ERROR "cannot infer P" */ ()
    	type myChan chan int
    	ch2[myChan]()
    
    	// P can be inferred as there's a single specific type and no tilde.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top