Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 850 for tiven (0.25 sec)

  1. android/guava/src/com/google/common/math/Quantiles.java

        private ScaleAndIndex(int scale, int index) {
          checkIndex(index, scale);
          this.scale = scale;
          this.index = index;
        }
    
        /**
         * Computes the quantile value of the given dataset.
         *
         * @param dataset the dataset to do the calculation on, which must be non-empty, which will be
         *     cast to doubles (with any associated lost of precision), and which will not be mutated by
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      }
    
      /**
       * Asserts that the collection under test contains exactly the elements it was initialized with
       * plus the given elements, according to {@link #expectContents(java.util.Collection)}. In other
       * words, for the default {@code expectContents()} implementation, the number of occurrences of
       * each given element has increased by one since the test collection was created, and the number
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/DecodableTest.java

        @Mock
        private Decodable mockDecodable;
    
        @Test
        @DisplayName("Should define decode method")
        void testDecodeMethod() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[10];
            int bufferIndex = 0;
            int len = 10;
            when(mockDecodable.decode(buffer, bufferIndex, len)).thenReturn(10);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect4Test.java

         * Test method for
         * {@link jcifs.dcerpc.msrpc.MsrpcSamrConnect4#MsrpcSamrConnect4(java.lang.String, int, jcifs.dcerpc.msrpc.SamrPolicyHandle)}.
         */
        @Test
        void testMsrpcSamrConnect4() {
            // Given
            final String server = "test-server";
            final int access = 1;
    
            // When
            final MsrpcSamrConnect4 request = new MsrpcSamrConnect4(server, access, this.policyHandle);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

        List<E> other = new ArrayList<>(getSampleElements());
        other.set(other.size() / 2, null);
        assertFalse(
            "Two Lists should not be equal if exactly one of them has null at a given index.",
            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testEquals_containingNull() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/StringUtil.java

         *
         * @param str
         *            the string (can be <code>null</code>)
         * @return the given string, or an empty string if the argument is <code>null</code>
         */
        public static String defaultString(final String str) {
            return str == null ? EMPTY : str;
        }
    
        /**
         * Returns the given string, or the specified default string if the argument is <code>null</code>.
         * <p>
         * Usage example:
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Comparators.java

       * @since 30.0
       */
      public static <T extends Comparable<? super T>> T min(T a, T b) {
        return (a.compareTo(b) <= 0) ? a : b;
      }
    
      /**
       * Returns the minimum of the two values, according to the given comparator. If the values compare
       * as equal, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. tests/multi_primary_keys_test.go

    	}
    
    	if name := DB.Dialector.Name(); name == "postgres" {
    		t.Skip("skip postgres due to it only allow unique constraint matching given keys")
    	}
    	if name := DB.Dialector.Name(); name == "gaussdb" {
    		t.Skip("skip gaussdb due to it only allow unique constraint matching given keys")
    	}
    
    	DB.Migrator().DropTable(&Blog{}, &Tag{}, "blog_tags", "locale_blog_tags", "shared_blog_tags")
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

        class BindOperationTests {
    
            @Test
            @DisplayName("Should execute bind operation successfully")
            void testBindSuccess() throws DcerpcException, IOException {
                // Given: Spy to intercept sendrecv calls
                TestDcerpcHandle spyHandle = spy(new TestDcerpcHandle(mockContext, mockBinding));
                doNothing().when(spyHandle).sendrecv(any(DcerpcMessage.class));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

       * Callable}.
       *
       * @param callable the callable task
       * @since 10.0
       */
      public static <V extends @Nullable Object> ListenableFutureTask<V> create(Callable<V> callable) {
        return new ListenableFutureTask<>(callable);
      }
    
      /**
       * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top