Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 850 for multiples (0.12 sec)

  1. android/guava/src/com/google/common/eventbus/Subscriber.java

          Subscriber that = (Subscriber) obj;
          // Use == so that different equal instances will still receive events.
          // We only guard against the case that the same object is registered
          // multiple times
          return target == that.target && method.equals(that.method);
        }
        return false;
      }
    
      /**
       * Checks whether {@code method} is thread-safe, as indicated by the presence of the {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/CIFSContext.java

     *
     *
     * A context holds the client configuration, shared services as well as the active credentials.
     *
     * Usually you will want to create one context per client configuration and then
     * multiple sub-contexts using different credentials (if necessary).
     *
     * {@link #withDefaultCredentials()}, {@link #withAnonymousCredentials()}, {@link #withCredentials(Credentials)}
     * allow to create such sub-contexts.
     *
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            // Test final release
            session.release();
            assertFalse(session.isInUse(), "Session should not be in use after all releases");
    
            // Test multiple releases (should not throw)
            assertThrows(RuntimeException.class, () -> session.release(), "Additional release should throw RuntimeCIFSException");
        }
    
        /**
         * Test tree creation and cleanup
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTreeInternalTest.java

            CommonServerMessageBlockResponse out = tree.send(request);
    
            // Assert
            assertSame(response, out);
            verify(tree).send(request);
        }
    
        @Test
        @DisplayName("send with multiple params returns the stubbed response")
        void send_withParams_returnsResponse() throws Exception {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            assertEquals(20, bytesRead);
            assertEquals(0x0010, response.getAttributes());
            // getLastWriteTime returns lastWriteTime (from readUTime) + serverTimeZoneOffset
            // readUTime multiplies the seconds value by 1000, and writeUTime divides milliseconds by 1000
            // So the round-trip should preserve the milliseconds value
            assertEquals(sampleTimeMillis + serverTimeZoneOffset, response.getLastWriteTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/https/HandlerTest.java

                // Then
                assertTrue(testHandler instanceof jcifs.smb1.http.Handler);
                assertEquals(443, testHandler.getDefaultPort());
            }
    
            @Test
            @DisplayName("Should handle multiple instances")
            void testMultipleInstances() {
                // When
                Handler handler1 = new Handler();
                Handler handler2 = new Handler();
                Handler handler3 = new Handler();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

        } catch (expected: IllegalArgumentException) {
          assertThat(expected.message).isEqualTo("string includes multiple certificates")
        }
        try {
          decode(pkcs8Pem + certificatePem + pkcs8Pem)
          fail<Any>()
        } catch (expected: IllegalArgumentException) {
          assertThat(expected.message).isEqualTo("string includes multiple private keys")
        }
      }
    
      @Test
      fun decodeWrongType() {
        try {
          decode(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

        }
    
        @Test
        @DisplayName("Test multiple encodes produce same result")
        void testMultipleEncodesProduceSameResult() {
            // Setup
            String pipeName = "RepeatedEncode";
            long timeout = 3000L;
            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName, timeout);
    
            // Encode multiple times
            byte[] buffer1 = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // multiply
      public void testTimes() {
        for (int a : TEST_INTS) {
          for (int b : TEST_INTS) {
            UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a);
            UnsignedInteger bUnsigned = UnsignedInteger.fromIntBits(b);
            int expected =
                force32(aUnsigned.bigIntegerValue().multiply(bUnsigned.bigIntegerValue()).intValue());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterables.java

       * stream.collect(MoreCollectors.onlyElement())}.
       *
       * @throws NoSuchElementException if the iterable is empty
       * @throws IllegalArgumentException if the iterable contains multiple elements
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T getOnlyElement(Iterable<T> iterable) {
        return Iterators.getOnlyElement(iterable.iterator());
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
Back to top