Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 913 for from (0.24 sec)

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

       */
      private static void movePivotToStartOfSlice(double[] array, int from, int to) {
        int mid = (from + to) >>> 1;
        // We want to make a swap such that either array[to] <= array[from] <= array[mid], or
        // array[mid] <= array[from] <= array[to]. We know that from < to, so we know mid < to
        // (although it's possible that mid == from, if to == from + 1). Note that the postcondition
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         */
        @Nonnull
        Model getEffectiveModel();
    
        /**
         * Gets the specified raw model as it was read from a model source. Apart from basic validation, a raw model has not
         * undergone any updates by the model builder, e.g. reflects neither inheritance nor interpolation. The model
         * identifier should be from the collection obtained by {@link #getModelIds()}. As a special case, an empty string
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        assertEquals("google.com", InternetDomainName.from("www.google.com").parent().toString());
    
        try {
          InternetDomainName.from("com").parent();
          fail("'com' should throw ISE on .parent() call");
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testChild() {
        InternetDomainName domain = InternetDomainName.from("foo.com");
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

      public void testFromFluentFuture() {
        FluentFuture<String> f = FluentFuture.from(SettableFuture.<String>create());
        assertThat(FluentFuture.from(f)).isSameInstanceAs(f);
      }
    
      public void testFromFluentFuturePassingAsNonFluent() {
        ListenableFuture<String> f = FluentFuture.from(SettableFuture.<String>create());
        assertThat(FluentFuture.from(f)).isSameInstanceAs(f);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumWeight=9000"));
        builder.weigher(constantWeigher(42)).build(CacheLoader.from(Suppliers.ofInstance(null)));
      }
    
      @SuppressWarnings("ReturnValueIgnored")
      public void testMaximumWeight_withoutWeigher() {
        CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumWeight=9000"));
        assertThrows(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            ClosingFuture.whenAllSucceed(
                    ClosingFuture.from(immediateFuture(closeable1)),
                    ClosingFuture.from(immediateFuture(closeable2)),
                    ClosingFuture.from(immediateFuture("value3")),
                    ClosingFuture.from(immediateFuture("value4")),
                    ClosingFuture.from(immediateFuture("value5")))
                .call(
                    waiter.waitFor(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        assertEquals("google.com", InternetDomainName.from("www.google.com").parent().toString());
    
        try {
          InternetDomainName.from("com").parent();
          fail("'com' should throw ISE on .parent() call");
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testChild() {
        InternetDomainName domain = InternetDomainName.from("foo.com");
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            params.put("num", "100");
            String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString();
            assertTrue(JsonPath.from(response).getInt("record_count") > 0);
            List<Map<String, Object>> docs = JsonPath.from(response).getList("data");
            for (Map<String, Object> doc : docs) {
                int value = Integer.parseInt(doc.get(field).toString());
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/io/ByteStreams.java

      /**
       * Copies all bytes from the readable channel to the writable channel. Does not close or flush
       * either channel.
       *
       * @param from the readable channel to read from
       * @param to the writable channel to write to
       * @return the number of bytes copied
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

      public void testFromFluentFuture() {
        FluentFuture<String> f = FluentFuture.from(SettableFuture.<String>create());
        assertThat(FluentFuture.from(f)).isSameInstanceAs(f);
      }
    
      public void testFromFluentFuturePassingAsNonFluent() {
        ListenableFuture<String> f = FluentFuture.from(SettableFuture.<String>create());
        assertThat(FluentFuture.from(f)).isSameInstanceAs(f);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top