Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 1,026 for origines (0.05 seconds)

  1. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(original, copy);
        assertThat(copy).isNotSameInstanceAs(original);
      }
    
      public void testEnumMapWithInitialMap() {
        HashMap<SomeEnum, Integer> original = new HashMap<>();
        original.put(SomeEnum.SOME_INSTANCE, 0);
        EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original);
        assertEquals(original, copy);
      }
    
      public void testEnumMapWithInitialEmptyMap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

      fun frameCount(): Int = frameCount
    
      fun sendFrame(): Http2Writer {
        outFrames.add(OutFrame(frameCount++, bytesOut.size, false))
        return writer
      }
    
      /**
       * Shortens the last frame from its original length to `length`. This will cause the peer to
       * close the socket as soon as this frame has been written; otherwise the peer stays open until
       * explicitly closed.
       */
      fun truncateLastFrame(length: Int): Http2Writer {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

      }
    
      private static final class BiMapPair<K, V> implements Serializable {
        final BiMap<K, V> forward;
        final BiMap<V, K> backward;
    
        BiMapPair(BiMap<K, V> original) {
          this.forward = original;
          this.backward = original.inverse();
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

        }
    
        /**
         * Gets the size of the original unencrypted message
         *
         * @return the original message size
         */
        public int getOriginalMessageSize() {
            return this.originalMessageSize;
        }
    
        /**
         * Sets the size of the original unencrypted message
         *
         * @param originalMessageSize
         *            the original message size to set
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                    // The first definition wins.
                    Lifecycle original = phaseToLifecycleMap.put(phase, lifecycle);
                    if (original != null && logger.isWarnEnabled()) {
                        logger.warn(
                                "Duplicated lifecycle phase {}. Defined in {} but also in {}",
                                phase,
                                original.getId(),
                                lifecycle.getId());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/HashBasedTableTest.java

      }
    
      public void testCreateCopy() {
        Table<String, Integer, Character> original =
            create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        Table<String, Integer, Character> copy = HashBasedTable.create(original);
        assertEquals(original, copy);
        assertEquals((Character) 'a', copy.get("foo", 1));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/EvictingQueueTest.java

      }
    
      public void testSerialization() {
        EvictingQueue<String> original = EvictingQueue.create(5);
        original.add("one");
        original.add("two");
        original.add("three");
    
        EvictingQueue<String> copy = SerializableTester.reserialize(original);
        assertEquals(copy.maxSize, original.maxSize);
        assertThat(copy.remove()).isEqualTo("one");
        assertThat(copy.remove()).isEqualTo("two");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

         */
        @ParameterizedTest
        @ValueSource(ints = { 0, 42, 255, -1, 128 })
        void encodeDecodeRoundTrip(int original) throws Exception {
            // The constructor masks to 0xFF (8 bits)
            int expected = original & 0xFF;
            NdrShort ns = new NdrShort(original);
            buf.reset();
            ns.encode(buf); // should not throw
    
            // After encoding, check how many bytes were used
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ArtifactTransformation.java

        String ROLE = ArtifactTransformation.class.getName();
    
        /**
         * Take in an artifact and return the transformed artifact for locating in the remote repository. If no
         * transformation has occurred the original artifact is returned.
         *
         * @param artifact           Artifact to be transformed.
         * @param request the repositories to check
         */
        void transformForResolve(Artifact artifact, RepositoryRequest request)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ArtifactTransformationManager.java

        String ROLE = ArtifactTransformationManager.class.getName();
    
        /**
         * Take in an artifact and return the transformed artifact for locating in the remote repository. If no
         * transformation has occurred the original artifact is returned.
         *
         * @param artifact           Artifact to be transformed.
         * @param request the repositories to check
         */
        void transformForResolve(Artifact artifact, RepositoryRequest request)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.7K bytes
    - Click Count (0)
Back to Top