Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 3,906 for while_1 (0.19 sec)

  1. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/ModelMapDslIntegrationTest.groovy

                create('test') { println "no" }
            }
        }
    }
    '''
            expect:
            fails "model"
            failure.assertHasLineNumber(18)
            failure.assertHasCause('Exception thrown while executing model rule: create(main) { ... } @ build.gradle line 17, column 9')
            failure.assertHasCause('No signature of method: org.gradle.api.Project.create() is applicable for argument types:')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/MultiProcessSafeIndexedCacheTest.groovy

            0 * _._
        }
    
        def "holds write lock while putting entry into cache"() {
            given:
            cacheOpened()
    
            when:
            cache.put("key", "value")
    
            then:
            1 * fileAccess.writeFile(!null) >> { Runnable action -> action.run() }
            1 * backingCache.put("key", "value")
            0 * _._
        }
    
        def "holds write lock while removing entry from cache"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/build/BuildProjectRegistry.java

        /**
         * Allows a section of code to run against the mutable state of all projects of this build. No other thread will be able to access the state of any project of this build while the given action is running.
         *
         * <p>Any attempt to lock a project by some other thread will block while the given action is running. This includes calls to {@link ProjectState#applyToMutableState(Consumer)}.
         */
        void withMutableStateOfAllProjects(Runnable runnable);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 17 02:52:57 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/DependencyResolutionResult.java

        List<Dependency> getUnresolvedDependencies();
    
        /**
         * Gets the errors that occurred while building the dependency graph.
         *
         * @return The errors that occurred while building the dependency graph, never {@code null}.
         */
        List<Exception> getCollectionErrors();
    
        /**
         * Gets the errors that occurred while resolving the specified dependency.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/services/DefaultLoggingManagerTest.groovy

            1 * javaUtilLoggingSystem.restore(javaUtilSnapshot)
            0 * loggingRouter._
            0 * slf4jLoggingSystem._
            0 * javaUtilLoggingSystem._
        }
    
        public void "can change capture level while started"() {
            final LoggingSystem.Snapshot stdOutSnapshot = Mock(LoggingSystem.Snapshot.class)
            final LoggingSystem.Snapshot stdErrSnapshot = Mock(LoggingSystem.Snapshot.class)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/CharSink.java

       * writer each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned writer is closed.
       *
       * @throws IOException if an I/O error occurs while opening the writer
       */
      public abstract Writer openStream() throws IOException;
    
      /**
       * Opens a new buffered {@link Writer} for writing to this sink. The returned stream is not
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

      public long addAndGet(K key, long delta) {
        outer:
        while (true) {
          AtomicLong atomic = map.get(key);
          if (atomic == null) {
            atomic = map.putIfAbsent(key, new AtomicLong(delta));
            if (atomic == null) {
              return delta;
            }
            // atomic is now non-null; fall through
          }
    
          while (true) {
            long oldValue = atomic.get();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. tensorflow/cc/ops/while_loop.h

    typedef std::function<Status(const Scope&, const std::vector<Output>& inputs,
                                 std::vector<Output>* outputs)>
        BodyGraphBuilderFn;
    
    // Constructs a while loop.
    //
    // Arguments:
    // * scope: used to construct the while loop.
    // * inputs: the initial values of the loop variables. Must be non-empty.
    // * cond: a function that builds the condition graph of the loop. Takes the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 24 08:24:58 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        // NPE on null listener, so we propagate that contract up into the add method as well.
        checkNotNull(runnable, "Runnable was null.");
        checkNotNull(executor, "Executor was null.");
    
        // Lock while we check state. We must maintain the lock while adding the new pair so that
        // another thread can't run the list out from under us. We only add to the list if we have not
        // yet started execution.
        synchronized (this) {
          if (!executed) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 21:17:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            reader.setScrollSize(1000);
            int count = 0;
            Set<String> valueSet = Collections.synchronizedSet(new HashSet<>());
            Map<String, Object> source;
            while ((source = reader.read()) != null) {
                assertTrue(source.get("field1").toString().startsWith("test"));
                valueSet.add(source.get("field1").toString());
                count++;
            }
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top