Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 598 for enum (0.41 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

            addEventListener(EventListenerRelay(this, eventRecorder).eventListener)
          }
    
          ListenerInstalledOn.Client -> {} // listener is added elsewhere.
        }
      }
    
      enum class ListenerInstalledOn {
        Client,
        Call,
        Relay,
      }
    
      companion object {
        val anyResponse = CoreMatchers.any(Response::class.java)
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

      }
    
      boolean usesKeyReferences() {
        return keyStrength != Strength.STRONG;
      }
    
      boolean usesValueReferences() {
        return valueStrength != Strength.STRONG;
      }
    
      enum Strength {
        /*
         * TODO(kevinb): If we strongly reference the value and aren't loading, we needn't wrap the
         * value. This could save ~8 bytes per entry.
         */
    
        STRONG {
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTest.java

        map.put(3, 20);
        map.put(1, 30);
        TreeMap<Integer, Integer> copy = Maps.newTreeMap(map);
        assertEquals(copy, map);
        assertSame(copy.comparator(), map.comparator());
      }
    
      public enum SomeEnum {
        SOME_INSTANCE
      }
    
      public void testEnumMap() {
        EnumMap<SomeEnum, Integer> map = Maps.newEnumMap(SomeEnum.class);
        assertEquals(emptyMap(), map);
        map.put(SomeEnum.SOME_INSTANCE, 0);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        }
      }
    
      private fun Editor.setString(
        index: Int,
        value: String,
      ) {
        newSink(index).buffer().use { writer ->
          writer.writeUtf8(value)
        }
      }
    
      enum class Subject {
        System {
          override fun create() = FileSystem.SYSTEM
    
          override val windows: Boolean
            get() = TestUtil.windows
        },
    
        FakeUnix {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapsTest.java

        map.put(3, 20);
        map.put(1, 30);
        TreeMap<Integer, Integer> copy = Maps.newTreeMap(map);
        assertEquals(copy, map);
        assertSame(copy.comparator(), map.comparator());
      }
    
      public enum SomeEnum {
        SOME_INSTANCE
      }
    
      public void testEnumMap() {
        EnumMap<SomeEnum, Integer> map = Maps.newEnumMap(SomeEnum.class);
        assertEquals(emptyMap(), map);
        map.put(SomeEnum.SOME_INSTANCE, 0);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        val truncatedBody = Buffer()
        truncatedBody.write(fullBody, numBytesToKeep.toLong())
        builder.body(truncatedBody)
        builder.headers(headers)
        return builder
      }
    
      internal enum class TransferKind {
        CHUNKED {
          override fun setBody(
            response: MockResponse.Builder,
            content: Buffer,
            chunkSize: Int,
          ) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 116.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       */
      @VisibleForTesting
      CountDownLatch whenClosedCountDown() {
        return closeables.whenClosedCountDown();
      }
    
      /** The state of a {@link CloseableList}. */
      enum State {
        /** The {@link CloseableList} has not been subsumed or closed. */
        OPEN,
    
        /**
         * The {@link CloseableList} has been subsumed into another. It may not be closed or subsumed
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 13:51:27 UTC 2025
    - 96.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
        if (builder.getValueStrength() == Strength.WEAK) {
          throw new IllegalArgumentException("Map cannot have both weak and dummy values");
        }
        throw new AssertionError();
      }
    
      enum Strength {
        STRONG {
          @Override
          Equivalence<Object> defaultEquivalence() {
            return Equivalence.equals();
          }
        },
    
        WEAK {
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 89.9K bytes
    - Viewed (0)
  9. RELEASE.md

    *   TF XLA
    
        *   Add new enum value `MLIR_BRIDGE_ROLLOUT_SAFE_MODE_ENABLED` to
            `tf.config.experimental.mlir_bridge_rollout` to enable a \"safe\" mode.
            This runs the MLIR bridge only when an analysis of the graph only when
            an analysis of the graph determines that it is safe to run.
        *   Add new enum value `MLIR_BRIDGE_ROLLOUT_SAFE_MODE_FALLBACK_ENABLED'
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue Oct 28 22:27:41 UTC 2025
    - 740.4K bytes
    - Viewed (3)
  10. CHANGELOG/CHANGELOG-1.24.md

    - Omit enum declarations from the static openapi file captured at https://git.k8s.io/kubernetes/api/openapi-spec. This file is used to generate API clients, and use of enums in those generated clients (rather than strings) can break forward compatibility with additional future values in those fields. See https://issue.k8s.io/109177 for details....
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Thu Aug 24 00:02:43 UTC 2023
    - 473.4K bytes
    - Viewed (0)
Back to top