Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 139 for returningT2 (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

        }
      }
    }
    
    @Throws(IOException::class)
    internal fun BufferedSource.skipAll() {
      while (!exhausted()) {
        skip(buffer.size)
      }
    }
    
    /**
     * Attempts to exhaust this, returning true if successful. This is useful when reading a complete
     * source is helpful, such as when doing so completes a cache body or frees a socket connection for
     * reuse.
     */
    internal fun Source.discard(
      timeout: Int,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Multiset.java

     *
     * <p>In addition to these required methods, implementations of {@code Multiset} are expected to
     * provide two {@code static} creation methods: {@code create()}, returning an empty multiset, and
     * {@code create(Iterable<? extends E>)}, returning a multiset containing the given initial
     * elements. This is simply a refinement of {@code Collection}'s constructor recommendations.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            User result = chain.load(null);
    
            assertEquals(loadedUser, result);
            assertEquals(1, chain.loadCalls.size());
            assertNull(chain.loadCalls.get(0));
        }
    
        // Test load returning null
        public void test_load_returnsNull() {
            TestAuthenticationChain chain = new TestAuthenticationChain();
            chain.loadResult = null;
            User inputUser = createTestUser("inputuser", "Input User");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Table.java

     * that, in some implementations, data access by column key may have fewer supported operations or
     * worse performance than data access by row key.
     *
     * <p>The methods returning collections or maps always return views of the underlying table.
     * Updating the table can change the contents of those collections, and updating the collections
     * will change the table.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            assertEquals(wildcard, it.getWildcard());
            assertSame(parent, it.getParent());
            verify(tree, times(1)).acquire();
        }
    
        @Test
        @DisplayName("Constructor with open() returning null closes immediately and hasNext=false")
        void constructorOpenNullCloses() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

            @Override
            public Object evaluate(String template, Map<String, Object> paramMap) {
                if ("error".equals(template)) {
                    // Simulate error by returning null
                    return null;
                }
                return template;
            }
        }
    
        // Test helper class
        private static class TestUser {
            public String name;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

      /**
       * In a response, this field's name "no-cache" is misleading. It doesn't prevent us from caching
       * the response; it only means we have to validate the response with the origin server before
       * returning it. We can do this with a conditional GET.
       *
       * In a request, it means do not use a cache to satisfy the request.
       */
      @get:JvmName("noCache") val noCache: Boolean,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacLogonInfoTest.java

                unicodeString.check("");
            });
    
            // The implementation has a bug - it doesn't handle null properly
            // It throws NullPointerException instead of returning null
            // This is a known issue in the production code
            assertThrows(NullPointerException.class, () -> {
                unicodeString.check(null);
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            });
    
            assertEquals("unexpected EOF reading netbios session header", exception.getMessage());
        }
    
        @Test
        @DisplayName("readPacketType with special stream returning -1 should return -1")
        void testReadPacketTypeSpecialStream() throws IOException {
            // Create a mock stream that returns exactly -1 on first read (special case)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       *
       * This is typically invoked immediately before bytes are returned to the application. If the
       * response body is empty this is invoked immediately before returning that to the application.
       *
       * If the application closes the response body before attempting a read, this is invoked at the
       * time it is closed.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
Back to top