Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for create_node (0.3 sec)

  1. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/binary/BaseBinarySpecTest.groovy

            binary.namingScheme.description == "sample binary 'sampleBinary'"
        }
    
        def "qualifies project scoped named and display name using owners name"() {
            def component = BaseComponentFixtures.createNode(SampleComponent, MySampleComponent, new DefaultComponentSpecIdentifier("path", "sample"))
            def binary = create(SampleBinary, MySampleBinary, "unitTest", component)
    
            expect:
            binary.name == "unitTest"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. pkg/registry/registrytest/node.go

    }
    
    func (r *NodeRegistry) ListNodes(ctx context.Context, options *metainternalversion.ListOptions) (*api.NodeList, error) {
    	r.Lock()
    	defer r.Unlock()
    	return &r.Nodes, r.Err
    }
    
    func (r *NodeRegistry) CreateNode(ctx context.Context, node *api.Node) error {
    	r.Lock()
    	defer r.Unlock()
    	r.Node = node.Name
    	r.Nodes.Items = append(r.Nodes.Items, *node)
    	return r.Err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 23:13:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/DefaultSharedLibraryBinarySpecTest.groovy

            binary.tasks.add(linkTask)
    
            then:
            binary.tasks.link == linkTask
        }
    
        private def getSharedLibrary() {
            def library = BaseComponentFixtures.createNode(NativeLibrarySpec, DefaultNativeLibrarySpec, new DefaultComponentSpecIdentifier("path", "libName"));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/NativeBinarySpecTest.groovy

    class NativeBinarySpecTest extends Specification {
        def flavor1 = new DefaultFlavor("flavor1")
        def id = new DefaultComponentSpecIdentifier("project", "name")
        def component = BaseComponentFixtures.createNode(NativeLibrarySpec, TestNativeComponentSpec, id)
    
        def platform1 = Stub(NativePlatform) {
            getArchitecture() >> Architectures.forInput("i386")
        }
        def buildType1 = Stub(BuildType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/DefaultStaticLibraryBinarySpecTest.groovy

    class DefaultStaticLibraryBinarySpecTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        final library = BaseComponentFixtures.createNode(NativeLibrarySpec, DefaultNativeLibrarySpec, new DefaultComponentSpecIdentifier("path", "libName"))
        def namingScheme = DefaultBinaryNamingScheme.component("main").withBinaryType("staticLibrary")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. src/internal/profile/graph.go

    	if id < uint64(len(l.s)) {
    		return l.s[id]
    	} else {
    		return l.m[id]
    	}
    }
    
    // CreateNodes creates graph nodes for all locations in a profile. It
    // returns set of all nodes, plus a mapping of each location to the
    // set of corresponding nodes (one per location.Line).
    func CreateNodes(prof *Profile, o *Options) (Nodes, locationMap) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 20:59:15 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. src/syscall/syscall_windows.go

    		sa = makeInheritSa()
    	}
    	var createmode uint32
    	switch {
    	case mode&(O_CREAT|O_EXCL) == (O_CREAT | O_EXCL):
    		createmode = CREATE_NEW
    	case mode&(O_CREAT|O_TRUNC) == (O_CREAT | O_TRUNC):
    		createmode = CREATE_ALWAYS
    	case mode&O_CREAT == O_CREAT:
    		createmode = OPEN_ALWAYS
    	case mode&O_TRUNC == O_TRUNC:
    		createmode = TRUNCATE_EXISTING
    	default:
    		createmode = OPEN_EXISTING
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  8. fastapi/_compat.py

        Sequence,
        Set,
        Tuple,
        Type,
        Union,
    )
    
    from fastapi.exceptions import RequestErrorModel
    from fastapi.types import IncEx, ModelNameMap, UnionType
    from pydantic import BaseModel, create_model
    from pydantic.version import VERSION as P_VERSION
    from starlette.datastructures import UploadFile
    from typing_extensions import Annotated, Literal, get_args, get_origin
    
    # Reassign variable to make it reexported for mypy
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

      /** Creates a {@code CycleDetectingLockFactory.WithExplicitOrdering<E>}. */
      public static <E extends Enum<E>> WithExplicitOrdering<E> newInstanceWithExplicitOrdering(
          Class<E> enumClass, Policy policy) {
        // createNodes maps each enumClass to a Map with the corresponding enum key
        // type.
        checkNotNull(enumClass);
        checkNotNull(policy);
        @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  10. pkg/volume/util/subpath/subpath_windows.go

    	}
    	access := uint32(syscall.GENERIC_READ)
    	sharemode := uint32(syscall.FILE_SHARE_READ)
    	createmode := uint32(syscall.OPEN_EXISTING)
    	flags := uint32(syscall.FILE_FLAG_BACKUP_SEMANTICS | syscall.FILE_FLAG_OPEN_REPARSE_POINT)
    	fd, err := syscall.CreateFile(pathp, access, sharemode, nil, createmode, flags, 0)
    	return uintptr(fd), err
    }
    
    // Lock all directories in subPath and check they're not symlinks.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 12:57:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top