Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 134 for GetMount (0.36 sec)

  1. 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)
  2. guava/src/com/google/common/io/FileBackedOutputStream.java

      private File file;
    
      /** ByteArrayOutputStream that exposes its internals. */
      private static class MemoryOutput extends ByteArrayOutputStream {
        byte[] getBuffer() {
          return buf;
        }
    
        int getCount() {
          return count;
        }
      }
    
      /** Returns the file holding the data (possibly null). */
      @VisibleForTesting
      @CheckForNull
      synchronized File getFile() {
        return file;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

                .build();
        assertEquals(HashMultiset.create(asList("b", "b", "b")), multiset);
      }
    
      public void testBuilderSetCountThenAdd() {
        ImmutableSortedMultiset<String> multiset =
            ImmutableSortedMultiset.<String>naturalOrder()
                .add("a")
                .setCount("a", 2)
                .setCount("b", 3)
                .setCount("a", 1)
                .add("a")
                .build();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

        this.offset = offset;
        this.length = length;
      }
    
      private int getCount(int index) {
        return (int) (cumulativeCounts[offset + index + 1] - cumulativeCounts[offset + index]);
      }
    
      @Override
      Entry<E> getEntry(int index) {
        return Multisets.immutableEntry(elementSet.asList().get(index), getCount(index));
      }
    
      @Override
      public void forEachEntry(ObjIntConsumer<? super E> action) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top