Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 545 for esum (0.32 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

            sum += array[index].hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int arrayFor(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (Object value : array) {
            sum += value.hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int arrayListIndexed(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LongAdder.java

        add(-1L);
      }
    
      /**
       * Returns the current sum. The returned value is NOT an atomic snapshot; invocation in
       * the absence of concurrent updates returns an accurate result, but concurrent updates that occur
       * while the sum is being calculated might not be incorporated.
       *
       * @return the sum
       */
      @Override
      public long sum() {
        long sum = base;
        Cell[] as = cells;
        if (as != null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

          expectAddFailure(multiset, entry);
        }
      }
    
      private static int totalSize(Iterable<? extends Entry<?>> entries) {
        int sum = 0;
        for (Entry<?> entry : entries) {
          sum += entry.getCount();
        }
        return sum;
      }
    
      private enum SubMultisetSpec {
        TAIL_CLOSED {
          @Override
          <E> List<Entry<E>> expectedEntries(int targetEntry, List<Entry<E>> entries) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

                ? EnumMultiset.create(AnEnum.class)
                : EnumMultiset.create(asList(elements));
          }
        };
      }
    
      private enum Color {
        BLUE,
        RED,
        YELLOW,
        GREEN,
        WHITE
      }
    
      private enum Gender {
        MALE,
        FEMALE
      }
    
      public void testClassCreate() {
        Multiset<Color> ms = EnumMultiset.create(Color.class);
        ms.add(Color.RED);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

         * Provides common functionality for all extensible enum implementations.
         */
        private static class DefaultExtensibleEnum implements ExtensibleEnum {
    
            private final String id;
    
            /**
             * Creates a new DefaultExtensibleEnum with the specified ID.
             *
             * @param id the identifier for this enum value, must not be null
             */
            DefaultExtensibleEnum(String id) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/ErrorCode.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    /** http://tools.ietf.org/html/draft-ietf-httpbis-http2-17#section-7 */
    enum class ErrorCode constructor(
      val httpCode: Int,
    ) {
      /** Not an error!  */
      NO_ERROR(0),
    
      PROTOCOL_ERROR(1),
    
      INTERNAL_ERROR(2),
    
      FLOW_CONTROL_ERROR(3),
    
      SETTINGS_TIMEOUT(4),
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaCapability.java

     */
    package jcifs.internal.smb2.rdma;
    
    /**
     * RDMA capability flags indicating what operations are supported
     * by an RDMA provider implementation.
     */
    public enum RdmaCapability {
        /**
         * Remote direct read operations
         */
        RDMA_READ,
    
        /**
         * Remote direct write operations
         */
        RDMA_WRITE,
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/EventType.java

     */
    package org.apache.maven.api;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * The possible types of execution events.
     *
     * @since 4.0.0
     */
    @Experimental
    public enum EventType {
        PROJECT_DISCOVERY_STARTED,
        SESSION_STARTED,
        SESSION_ENDED,
        PROJECT_SKIPPED,
        PROJECT_STARTED,
        PROJECT_SUCCEEDED,
        PROJECT_FAILED,
        MOJO_SKIPPED,
        MOJO_STARTED,
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionRequestTypeEnum.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.metadata;
    
    /**
     * MetadataResolutionRequestTypeEnum
     */
    @Deprecated
    public enum MetadataResolutionRequestTypeEnum {
        tree(1),
        graph(2),
        classpathCompile(3),
        classpathTest(4),
        classpathRuntime(5),
        versionedGraph(6),
        scopedGraph(7);
    
        private int id;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/path-params.md

    ### โœ `Enum` ๐ŸŽ“
    
    ๐Ÿ—„ `Enum` &amp; โœ ๐ŸŽง-๐ŸŽ“ ๐Ÿ‘ˆ ๐Ÿ˜– โšช๏ธโžก๏ธ `str` &amp; โšช๏ธโžก๏ธ `Enum`.
    
    ๐Ÿ˜– โšช๏ธโžก๏ธ `str` ๐Ÿ› ๏ธ ๐Ÿฉบ ๐Ÿ”œ ๐Ÿ’ช ๐Ÿ’ญ ๐Ÿ‘ˆ ๐Ÿ’ฒ ๐Ÿ”œ ๐Ÿ†Ž `string` &amp; ๐Ÿ”œ ๐Ÿ’ช โœ โ˜‘.
    
    โคด๏ธ โœ ๐ŸŽ“ ๐Ÿ”ข โฎ๏ธ ๐Ÿ”ง ๐Ÿ’ฒ, โ” ๐Ÿ”œ ๐Ÿ’ช โ˜‘ ๐Ÿ’ฒ:
    
    {* ../../docs_src/path_params/tutorial005.py hl[1,6:9] *}
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top