Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 240 for Inverse (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava/src/com/google/common/primitives/UnsignedInteger.java

       * @since 14.0
       */
      public static UnsignedInteger fromIntBits(int bits) {
        return new UnsignedInteger(bits);
      }
    
      /**
       * Returns an {@code UnsignedInteger} that is equal to {@code value}, if possible. The inverse
       * operation of {@link #longValue()}.
       */
      public static UnsignedInteger valueOf(long value) {
        checkArgument(
            (value & INT_MASK) == value,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          SampleElements<Entry<K, V>> samples = generator.samples();
          return new SampleElements<>(
              reverse(samples.e0()),
              reverse(samples.e1()),
              reverse(samples.e2()),
              reverse(samples.e3()),
              reverse(samples.e4()));
        }
    
        private Entry<V, K> reverse(Entry<K, V> entry) {
          checkNotNull(entry);
          return mapEntry(entry.getValue(), entry.getKey());
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.8K bytes
    - Click Count (2)
  3. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            assertEquals((byte) 0x00, bufferData[startIndex + alignmentBytes + 1], "Most significant byte should be second");
        }
    
        /**
         * When given a buffer with sufficient length, decode performs
         * the inverse of encode.
         */
        @Test
        void decodeFromEncodedBuffer() throws NdrException {
            NdrShort ns = new NdrShort(123); // masked value 123 (already fits in 8 bits)
            buf.reset();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/UndirectedNetworkConnections.java

        return Collections.unmodifiableSet(((BiMap<E, N>) incidentEdgeMap).values());
      }
    
      @Override
      public Set<E> edgesConnecting(N node) {
        return new EdgesConnecting<>(((BiMap<E, N>) incidentEdgeMap).inverse(), node);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java

        BiMap<K, V> bimap = (BiMap<K, V>) map;
    
        for (Entry<K, V> entry : map.entrySet()) {
          assertEquals(entry.getKey() + "=" + entry.getValue(), entry.toString());
          assertEquals(entry.getKey(), bimap.inverse().get(entry.getValue()));
        }
    
        assertEquals("{" + JOINER.join(map.entrySet()) + "}", map.toString());
        assertEquals("[" + JOINER.join(map.entrySet()) + "]", map.entrySet().toString());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

        System.out.println("hit rate: " + hit / req);
      }
    
      // for proper distributions later:
      // import JSci.maths.statistics.ProbabilityDistribution;
      // int key = (int) dist.inverse(random.nextDouble());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * {@inheritDoc}
       *
       * <p>The inverse of an {@code ImmutableBiMap} is another {@code ImmutableBiMap}.
       */
      @Override
      public abstract ImmutableBiMap<V, K> inverse();
    
      /**
       * Returns an immutable set of the values in this map, in the same order they appear in {@link
       * #entrySet}.
       */
      @Override
      public ImmutableSet<V> values() {
        return inverse().keySet();
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Maps.java

          super(delegate, predicate);
          this.inverse =
              new FilteredEntryBiMap<>(delegate.inverse(), inversePredicate(predicate), this);
        }
    
        private FilteredEntryBiMap(
            BiMap<K, V> delegate, Predicate<? super Entry<K, V>> predicate, BiMap<V, K> inverse) {
          super(delegate, predicate);
          this.inverse = inverse;
        }
    
        BiMap<K, V> unfiltered() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Maps.java

          super(delegate, predicate);
          this.inverse =
              new FilteredEntryBiMap<>(delegate.inverse(), inversePredicate(predicate), this);
        }
    
        private FilteredEntryBiMap(
            BiMap<K, V> delegate, Predicate<? super Entry<K, V>> predicate, BiMap<V, K> inverse) {
          super(delegate, predicate);
          this.inverse = inverse;
        }
    
        BiMap<K, V> unfiltered() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 163.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/primitives/UnsignedLong.java

        return fromLongBits(value);
      }
    
      /**
       * Returns a {@code UnsignedLong} representing the same value as the specified {@code BigInteger}.
       * This is the inverse operation of {@link #bigIntegerValue()}.
       *
       * @throws IllegalArgumentException if {@code value} is negative or {@code value >= 2^64}
       */
      @CanIgnoreReturnValue
      public static UnsignedLong valueOf(BigInteger value) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 8.8K bytes
    - Click Count (0)
Back to Top