Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 984 for calc (0.95 sec)

  1. guava-tests/test/com/google/common/base/PreconditionsTest.java

          }
        }
        return allOverloads.build().asList();
      }
    
      // 'test' to demonstrate some potentially ambiguous overloads.  This 'test' is kind of strange,
      // but essentially each line will be a call to a Preconditions method that, but for a documented
      // change would be a compiler error.
      // See http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.2 for the spec on
      // how javac selects overloads
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

      }
    
      /**
       * Test for Guava issue 1061: https://github.com/google/guava/issues/1061
       *
       * <p>CharStreams.copy was failing to clear its CharBuffer after each read call, which effectively
       * reduced the available size of the buffer each time a call to read didn't fill up the available
       * space in the buffer completely. In general this is a performance problem since the buffer size
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CharStreamsTest.java

      }
    
      /**
       * Test for Guava issue 1061: https://github.com/google/guava/issues/1061
       *
       * <p>CharStreams.copy was failing to clear its CharBuffer after each read call, which effectively
       * reduced the available size of the buffer each time a call to read didn't fill up the available
       * space in the buffer completely. In general this is a performance problem since the buffer size
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

        E[] array = createArrayWithNullElement();
        resetContainer(getSubjectGenerator().create(array));
      }
    
      /**
       * Equivalent to {@link #expectMissing(Object[]) expectMissing}{@code (null)} except that the call
       * to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullMissingWhenNullUnsupported(String message) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

        E[] array = createArrayWithNullElement();
        resetContainer(getSubjectGenerator().create(array));
      }
    
      /**
       * Equivalent to {@link #expectMissing(Object[]) expectMissing}{@code (null)} except that the call
       * to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullMissingWhenNullUnsupported(String message) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

            // Constructor accepts null principal without throwing exception
            NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, null);
    
            // getRemoteUser() will throw NPE when trying to call getName() on null principal
            assertThrows(NullPointerException.class, () -> request.getRemoteUser());
            assertNull(request.getUserPrincipal());
            assertEquals("NTLM", request.getAuthType());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java

    import java.util.Optional;
    
    import org.apache.maven.api.Project;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Result of a project build call.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ProjectBuilderResult extends Result<ProjectBuilderRequest> {
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

      private var nextQueueName = 10000
      private var coordinatorWaiting = false
      private var coordinatorWakeUpAt = 0L
    
      /**
       * When we need a new thread to run tasks, we call [Backend.execute]. A few microseconds later we
       * expect a newly-started thread to call [Runnable.run]. We shouldn't request new threads until
       * the already-requested ones are in service, otherwise we might create more threads than we need.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

    abstract class InterruptibleTask<T extends @Nullable Object>
        extends AtomicReference<@Nullable Runnable> implements Runnable {
      static {
        // Prevent rare disastrous classloading in first call to LockSupport.park.
        // See: https://bugs.openjdk.org/browse/JDK-8074773
        @SuppressWarnings("unused")
        Class<?> ensureLoaded = LockSupport.class;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        /** Suppresses the assertion on {@link TypeToken#getSupertype}. */
        boolean suppressGetSupertype() default false;
      }
    
      private @Nullable Method method = null;
    
      /** Call this in a {@link TestSubtype} public method asserting subtype relationship. */
      final <T> T isSubtype(T sub) {
        Type returnType = method.getGenericReturnType();
        Type paramType = getOnlyParameterType();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top