Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4891 - 4900 of 5,353 for Return (0.08 sec)

  1. src/test/java/jcifs/smb/RequestParamTest.java

    @ExtendWith(MockitoExtension.class)
    public class RequestParamTest {
    
        // Happy path: values() returns all constants in declaration order
        @Test
        @DisplayName("values() returns all declared constants in order")
        void valuesContainsAllInOrder() {
            RequestParam[] values = RequestParam.values();
    
            assertNotNull(values, "values() must not return null");
            assertEquals(4, values.length, "There must be exactly 4 constants");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. doc/go_mem.html

    </p>
    
    <p class="rule">
    A successful call to <code>l.TryLock</code> (or <code>l.TryRLock</code>)
    is equivalent to a call to <code>l.Lock</code> (or <code>l.RLock</code>).
    An unsuccessful call has no synchronizing effect at all.
    As far as the memory model is concerned,
    <code>l.TryLock</code> (or <code>l.TryRLock</code>)
    may be considered to be able to return false
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 15:41:37 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/HashingTest.java

        ImmutableSet<String> legacyHashingMethodNames =
            ImmutableSet.of("murmur2_64", "fprint96", "highwayFingerprint64", "highwayFingerprint128");
        return method.getReturnType().equals(HashFunction.class) // must return HashFunction
            && Modifier.isPublic(method.getModifiers()) // only the public methods
            && method.getParameterTypes().length == 0 // only the seedless hash functions
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbSessionImplTest.java

        @Mock
        private Credentials credentials;
        @Mock
        private CredentialsInternal credentialsInternal;
        @Mock
        private SmbTransportImpl transport;
    
        private SmbSessionImpl newSession() {
            return new SmbSessionImpl(cifsContext, "server.example", "EXAMPLE", transport);
        }
    
        @BeforeEach
        void setup() {
            // Base context configuration - always needed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

       * longer usable by the current type's members.
       */
      fun <T> withTypeHint(block: () -> T): T {
        typeHintStack.add(null)
        try {
          return block()
        } finally {
          typeHintStack.removeAt(typeHintStack.size - 1)
        }
      }
    
      private fun sink(): BufferedSink = stack[stack.size - 1]
    
      fun writeBoolean(b: Boolean) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            Smb2LeaseKey key2 = new Smb2LeaseKey();
    
            assertNotEquals(key1, key2);
            assertFalse(Arrays.equals(key1.getKey(), key2.getKey()));
        }
    
        @Test
        @DisplayName("Should return defensive copy of key")
        void testDefensiveCopy() {
            byte[] originalBytes =
                    new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2));
    
            // Multiple calls with same file ID should return same channel
            ChannelInfo first = loadBalancer.selectChannel(readRequest);
            ChannelInfo second = loadBalancer.selectChannel(readRequest);
    
            assertEquals(first, second);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

       * Float#valueOf}.
       */
      private static @Nullable Float referenceTryParse(String input) {
        if (input.trim().length() < input.length()) {
          return null;
        }
        try {
          return Float.valueOf(input);
        } catch (NumberFormatException e) {
          return null;
        }
      }
    
      @GwtIncompatible // Floats.tryParse
      private static void checkTryParse(String input) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/FloatsTest.java

       * Float#valueOf}.
       */
      private static @Nullable Float referenceTryParse(String input) {
        if (input.trim().length() < input.length()) {
          return null;
        }
        try {
          return Float.valueOf(input);
        } catch (NumberFormatException e) {
          return null;
        }
      }
    
      @GwtIncompatible // Floats.tryParse
      private static void checkTryParse(String input) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt

        content: String? = null,
        fn: (okio.Path) -> T,
      ): T {
        FileSystem.SYSTEM.write(filePath) {
          if (content != null) {
            writeUtf8(content)
          }
        }
    
        return fn(filePath)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (1)
Back to top