Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,048 for Initialize (0.14 sec)

  1. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccessIntegrationTest.groovy

            when:
            // start a build with a IsolationMode.PROCESS worker that will initialize the worker classpath cache and wait until the cache was initialized
            def block = server.expectAndBlock("waiting")
            def build = executer.withTasks("doWork").start()
            block.waitForAllPendingCalls()
    
            // simulate another "build" that tries to initialize the cache as well before recognizing that it has been done already
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java

            if (!initialized) {
                initialize();
            }
            BeanDesc beanDesc = beanDescCache.get(clazz);
            if (beanDesc == null) {
                beanDesc = putIfAbsent(beanDescCache, clazz, new BeanDescImpl(clazz));
            }
            return beanDesc;
        }
    
        /**
         * 初期化を行ないます。
         */
        public static void initialize() {
            synchronized (BeanDescFactory.class) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/revived_types/restored_resource.cc

                                       TFConcreteFunction* initialize,
                                       TFConcreteFunction* destroy_resource,
                                       ImmediateTensorHandlePtr resource_handle)
        : TensorHandleConvertible(std::move(resource_handle)),
          device_(device),
          create_resource_(create_resource),
          initialize_(initialize),
          destroy_resource_(destroy_resource) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. src/go/printer/performance_test.go

    	if err := (&Config{TabIndent | UseSpaces | normalizeNumbers, 8, 0}).Fprint(out, fset, node); err != nil {
    		log.Fatalf("print error: %s", err)
    	}
    }
    
    // cannot initialize in init because (printer) Fprint launches goroutines.
    func initialize() {
    	const filename = "testdata/parser.go"
    
    	src, err := os.ReadFile(filename)
    	if err != nil {
    		log.Fatalf("%s", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 15:10:10 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. src/container/ring/example_test.go

    	// Create two rings, r and s, of size 2
    	r := ring.New(2)
    	s := ring.New(2)
    
    	// Get the length of the ring
    	lr := r.Len()
    	ls := s.Len()
    
    	// Initialize r with 0s
    	for i := 0; i < lr; i++ {
    		r.Value = 0
    		r = r.Next()
    	}
    
    	// Initialize s with 1s
    	for j := 0; j < ls; j++ {
    		s.Value = 1
    		s = s.Next()
    	}
    
    	// Link ring r and ring s
    	rs := r.Link(s)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ExtraPropertiesExtensionsTest.kt

    import org.hamcrest.CoreMatchers.nullValue
    
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Test
    
    
    class ExtraPropertiesExtensionsTest {
    
        @Test
        fun `can initialize extra property via delegate provider`() {
    
            val extra = mock<ExtraPropertiesExtension> {
                on { get("property") } doReturn 42
            }
    
            val property by extra(42)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. test/fixedbugs/issue30087.go

    	_ = 1, 2        // ERROR "assignment mismatch: 1 variable but 2 values|number of variables does not match|cannot assign"
    	c, d := 1       // ERROR "assignment mismatch: 2 variables but 1 value|wrong number of initializations|cannot initialize"
    	e, f := 1, 2, 3 // ERROR "assignment mismatch: 2 variables but 3 values|wrong number of initializations|cannot initialize"
    	_, _, _, _, _, _ = a, b, c, d, e, f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:07:00 UTC 2023
    - 734 bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/CacheInitializationAction.java

        boolean requiresInitialization(FileLock fileLock);
    
        /**
         * Executes the action to initialize the cache. Called only if {@link #requiresInitialization(FileLock)} returns true, holding an exclusive lock.
         * The lock is not released between calling {@link #requiresInitialization(FileLock)} and this method.
         */
        void initialize(FileLock fileLock);
    
        CacheInitializationAction NO_INIT_REQUIRED = new CacheInitializationAction() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. testing/internal-testing/src/main/groovy/org/gradle/testfixtures/internal/NativeServicesTestFixture.java

        static NativeServices nativeServices;
        static boolean initialized;
    
        public static synchronized void initialize() {
            if (!initialized) {
                System.setProperty("org.gradle.native", "true");
                File nativeDir = getNativeServicesDir();
                NativeServices.initializeOnDaemon(nativeDir, NativeServicesMode.fromSystemProperties());
                initialized = true;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. pkg/capabilities/capabilities.go

    	lock         sync.Mutex
    	capabilities *Capabilities
    }
    
    // Initialize the capability set.  This can only be done once per binary, subsequent calls are ignored.
    func Initialize(c Capabilities) {
    	// Only do this once
    	capInstance.once.Do(func() {
    		capInstance.capabilities = &c
    	})
    }
    
    // Setup the capability set.  It wraps Initialize for improving usability.
    func Setup(allowPrivileged bool, perConnectionBytesPerSec int64) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 12:51:16 UTC 2019
    - 3K bytes
    - Viewed (0)
Back to top