Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 448 for Calling (0.05 sec)

  1. guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    
    /**
     * A ScheduledExecutorService that executes all scheduled actions immediately in the calling thread.
     *
     * <p>See {@link TestingExecutors#sameThreadScheduledExecutor()} for a full list of constraints.
     *
     * @author John Sirois
     * @author Zach van Schouwen
     */
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

            // Negative interaction check: no further interactions with the mock
            verifyNoMoreInteractions(renewable);
        }
    
        @Test
        @DisplayName("Edge: calling renew() on a null reference throws NPE")
        void renewOnNullReferenceThrowsNPE() {
            // Arrange: null reference to the interface
            SmbRenewableCredentials creds = null;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

            req.addFlags0(0x10);
            int flags0 = (int) getPrivateField(req, "flags0");
            assertTrue((flags0 & 0x10) != 0, "flag should be set after addFlags0");
            // Calling again should combine rather than overwrite
            req.addFlags0(0x20);
            flags0 = (int) getPrivateField(req, "flags0");
            assertTrue((flags0 & 0x20) != 0, "flag should accumulate");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NbtExceptionTest.java

                    Arguments.of(NbtException.ERR_SSN_SRVC, NbtException.NOT_LISTENING_CALLING, "ERR_SSN_SRVC/Not listening for calling name"),
                    Arguments.of(NbtException.ERR_SSN_SRVC, NbtException.CALLED_NOT_PRESENT, "ERR_SSN_SRVC/Called name not present"),
                    Arguments.of(NbtException.ERR_SSN_SRVC, NbtException.NO_RESOURCES,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    In C, a function argument written as a fixed size array
    actually requires a pointer to the first element of the array.
    C compilers are aware of this calling convention and adjust
    the call accordingly, but Go cannot. In Go, you must pass
    the pointer to the first element explicitly: C.f(&C.x[0]).
    
    Calling variadic C functions is not supported. It is possible to
    circumvent this by using a C function wrapper. For example:
    
    	package main
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Dec 11 23:57:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          }
          awaitUnchecked(barrier);
          assertThat(future.isDone()).isTrue();
          // inspect state and ensure it is correct!
          // asserts that all get calling threads received the same value
          Object result = Iterables.getOnlyElement(finalResults);
          if (result == CancellationException.class) {
            assertTrue(future.isCancelled());
            if (future.wasInterrupted()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Booleans.java

       * values.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
       * <p><b>Note:</b> consider representing the collection as a {@link java.util.BitSet} instead.
       *
       * @param collection a collection of {@code Boolean} objects
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Booleans.java

       * values.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
       * <p><b>Note:</b> consider representing the collection as a {@link java.util.BitSet} instead.
       *
       * @param collection a collection of {@code Boolean} objects
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/AbstractStreamingHasher.java

       * even to an intermediate buffer) should be considerably more efficient than potentially
       * copying the CharSequence to a String and then calling getBytes(Charset) on that String, in
       * reality there are optimizations that make the getBytes(Charset) approach considerably faster,
       * at least for commonly used charsets like UTF-8.
       */
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java

     * convenience, to enable developers to pass things like <code>java.lang.StringBuffer</code> directly into the logger,
     * rather than formatting first by calling <code>toString()</code>.
     *
     * @since 4.0.0
     */
    @Experimental
    @Provider
    public interface Log {
        /**
         * {@return true if the <b>debug</b> error level is enabled}
         */
        boolean isDebugEnabled();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top