Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for idempotent (0.06 sec)

  1. android/guava/src/com/google/common/primitives/Primitives.java

        return WRAPPER_TO_PRIMITIVE_TYPE.containsKey(checkNotNull(type));
      }
    
      /**
       * Returns the corresponding wrapper type of {@code type} if it is a primitive type; otherwise
       * returns {@code type} itself. Idempotent.
       *
       * <pre>
       *     wrap(int.class) == Integer.class
       *     wrap(Integer.class) == Integer.class
       *     wrap(String.class) == String.class
       * </pre>
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

          }
        }
      }
    
      /** Tests that if specify '%' as safe the result is an idempotent escaper. */
      public void testCustomEscaper_withpercent() {
        UnicodeEscaper e = new PercentEscaper("%", false);
        assertEquals("foo%7Cbar", e.escape("foo|bar"));
        assertEquals("foo%7Cbar", e.escape("foo%7Cbar")); // idempotent
      }
    
      /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcConstants.java

        /**
         * Maybe semantics packet flag
         */
        int RPC_C_PF_MAYBE = 0x04;
        /**
         * Idempotent operation packet flag
         */
        int RPC_C_PF_IDEMPOTENT = 0x08;
        /**
         * Broadcast with maybe semantics packet flag
         */
        int RPC_C_PF_BROADCAST_MAYBE = 0x10;
        /**
         * Not idempotent operation packet flag
         */
        int RPC_C_PF_NOT_IDEMPOTENT = 0x20;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. docs/bucket/versioning/README.md

    > NOTE: Server side replication is supported for idempotent versions on directory objects.
    
    ### Idempotent versions on delete markers
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/PercentEscaperTest.java

          }
        }
      }
    
      /** Tests that if specify '%' as safe the result is an idempotent escaper. */
      public void testCustomEscaper_withpercent() {
        UnicodeEscaper e = new PercentEscaper("%", false);
        assertEquals("foo%7Cbar", e.escape("foo|bar"));
        assertEquals("foo%7Cbar", e.escape("foo%7Cbar")); // idempotent
      }
    
      /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

     * the listeners can be delayed slightly so that locks can be dropped. Also, because {@link
     * #dispatch} is expected to be called concurrently, it is idempotent.
     */
    @J2ktIncompatible
    @GwtIncompatible
    final class ListenerCallQueue<L> {
      // TODO(cpovirk): consider using the logger associated with listener.getClass().
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

          assertThat(source.readUtf8()).isEqualTo("Hello")
          assertThat(response.trailers()).isEqualTo(headersOf("t1", "v2"))
          assertThat(response.trailers()).isEqualTo(headersOf("t1", "v2")) // Idempotent.
        }
      }
    
      @Test
      fun trailersEmptyResponseBodyHttp1() {
        trailersEmptyResponseBody(Protocol.HTTP_1_1)
      }
    
      @Test
      fun trailersEmptyResponseBodyHttp2() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 18K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            assertTrue(Ordering.natural().onResultOf(Functions.forMap(indexByLock)).isOrdered(locks));
    
            // check idempotency
            Iterable<?> locks2 = striped.bulkGet(objects);
            assertEquals(Lists.newArrayList(locks), Lists.newArrayList(locks2));
          }
        }
      }
    
      /** Checks idempotency, and that we observe the promised number of stripes. */
      public void testBasicInvariants() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            assertTrue(Ordering.natural().onResultOf(Functions.forMap(indexByLock)).isOrdered(locks));
    
            // check idempotency
            Iterable<?> locks2 = striped.bulkGet(objects);
            assertEquals(Lists.newArrayList(locks), Lists.newArrayList(locks2));
          }
        }
      }
    
      /** Checks idempotency, and that we observe the promised number of stripes. */
      public void testBasicInvariants() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            assertEquals("remove", exception.getMessage());
        }
    
        @Test
        @DisplayName("Close should be idempotent")
        void testClose_Idempotent() throws Exception {
            // Given: A valid iterator setup
            when(locator.getType()).thenReturn(SmbConstants.TYPE_WORKGROUP);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top