Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 120 for GetMount (0.12 sec)

  1. android/guava/src/com/google/common/collect/EnumMultiset.java

        } else {
          counts[index] = oldCount - occurrences;
          size -= occurrences;
        }
        return oldCount;
      }
    
      // Modification Operations
      @CanIgnoreReturnValue
      @Override
      public int setCount(E element, int count) {
        checkIsE(element);
        checkNonnegative(count, "count");
        int index = element.ordinal();
        int oldCount = counts[index];
        counts[index] = count;
        size += count - oldCount;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

            where:
            type << [A1, B1, C1, D1]
        }
    
        @Managed
        static interface WithInheritedProperties extends SingleStringNameProperty {
            Integer getCount()
    
            void setCount(Integer count)
        }
    
        def "extracts inherited properties"() {
            when:
            def properties = extract(WithInheritedProperties).properties
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  3. pkg/test/echo/common/util.go

    	request.Count = int32(GetCount(request))
    }
    
    // GetTimeout returns the timeout value as a time.Duration or DefaultRequestTimeout if not set.
    func GetTimeout(request *proto.ForwardEchoRequest) time.Duration {
    	timeout := MicrosToDuration(request.TimeoutMicros)
    	if timeout == 0 {
    		timeout = DefaultRequestTimeout
    	}
    	return timeout
    }
    
    // GetCount returns the count value or DefaultCount if not set.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 01 01:05:45 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       */
      private List<E> snapshot() {
        List<E> list = Lists.newArrayListWithExpectedSize(size());
        for (Multiset.Entry<E> entry : entrySet()) {
          E element = entry.getElement();
          for (int i = entry.getCount(); i > 0; i--) {
            list.add(element);
          }
        }
        return list;
      }
    
      // Modification Operations
    
      /**
       * Adds a number of occurrences of the specified element to this multiset.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. cmd/prepare-storage.go

    	if shouldInitErasureDisks(sErrs) && firstDisk {
    		logger.Info("Formatting %s pool, %v set(s), %v drives per set.",
    			humanize.Ordinal(poolCount), setCount, setDriveCount)
    
    		// Initialize erasure code format on disks
    		format, err = initFormatErasure(GlobalContext, storageDisks, setCount, setDriveCount, deploymentID, sErrs)
    		if err != nil {
    			return nil, err
    		}
    
    		return format, nil
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskPropertiesIntegrationTest.groovy

            given:
            buildFile << """
                abstract class MyTask extends DefaultTask {
                    @Internal
                    abstract Property<Integer> getCount()
    
                    @TaskAction
                    void go() {
                        println("count = \${count.get()}")
                    }
                }
    
                tasks.create("thing", MyTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

        if (!entryIterator.hasNext()) {
          return null;
        }
        Entry<E> entry = entryIterator.next();
        return Multisets.immutableEntry(entry.getElement(), entry.getCount());
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        return delegate().lastEntry();
      }
    
      /**
       * A sensible definition of {@link #lastEntry()} in terms of {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

        if (!entryIterator.hasNext()) {
          return null;
        }
        Entry<E> entry = entryIterator.next();
        return Multisets.immutableEntry(entry.getElement(), entry.getCount());
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        return delegate().lastEntry();
      }
    
      /**
       * A sensible definition of {@link #lastEntry()} in terms of {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        long[] cumulativeCounts = new long[entries.size() + 1];
        int i = 0;
        for (Entry<E> entry : entries) {
          elementsBuilder.add(entry.getElement());
          cumulativeCounts[i + 1] = cumulativeCounts[i] + entry.getCount();
          i++;
        }
        return new RegularImmutableSortedMultiset<>(
            new RegularImmutableSortedSet<E>(elementsBuilder.build(), comparator),
            cumulativeCounts,
            0,
            entries.size());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  10. fess-crawler-es/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                crawler1.awaitTermination();
                crawler2.awaitTermination();
    
                assertEquals(maxCount, dataService.getCount(sessionId1));
                assertEquals(maxCount, dataService.getCount(sessionId2));
    
                UrlQueue urlQueue;
                while ((urlQueue = urlQueueService.poll(sessionId1)) != null) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top