Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 821 - 830 of 8,997 for Class3 (0.14 seconds)

  1. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

    import jcifs.NetbiosName;
    import jcifs.ResolverType;
    
    /**
     * Test class for NameServiceClientImpl focusing on public API methods.
     * Optimized for fast execution with minimal network calls.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    @DisplayName("NameServiceClientImpl Tests")
    class NameServiceClientImplTest {
    
        @Mock
        private CIFSContext mockContext;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

        assertThrows(NoSuchElementException.class, empty::next);
        assertThrows(UnsupportedOperationException.class, empty::remove);
      }
    
      public void testBroken() {
        Iterator<Object> broken = new BrokenAbstractSequentialIterator();
        assertTrue(broken.hasNext());
        // We can't retrieve even the known first element:
        assertThrows(SomeUncheckedException.class, broken::next);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

       *    corresponding call to [FrameCallback].
       */
      @Throws(IOException::class)
      fun processNextFrame() {
        check(!closed) { "closed" }
    
        readHeader()
        if (isControlFrame) {
          readControlFrame()
        } else {
          readMessageFrame()
        }
      }
    
      @Throws(IOException::class, ProtocolException::class)
      private fun readHeader() {
        if (receivedCloseFrame) throw IOException("closed")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        ImmutableList.Builder<String> builder = ImmutableList.builder();
        assertThrows(NullPointerException.class, () -> builder.add((String) null));
    
        assertThrows(NullPointerException.class, () -> builder.add((String[]) null));
    
        assertThrows(NullPointerException.class, () -> builder.add("a", null, "b"));
      }
    
      public void testBuilderAddAllHandlesNullsCorrectly() {
        {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        assertThrows(AssertionFailedError.class, () -> assertContentsInOrder(list, "a", "b", "c", "d"));
    
        assertThrows(AssertionFailedError.class, () -> assertContentsInOrder(list, "a", "c", "b"));
    
        assertThrows(AssertionFailedError.class, () -> assertContentsInOrder(list, "a", "B", "c"));
      }
    
      public void testAssertContains() {
        List<?> list = asList("a", "b");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 09 19:16:24 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  6. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        assertThrows(AssertionFailedError.class, () -> assertContentsInOrder(list, "a", "b", "c", "d"));
    
        assertThrows(AssertionFailedError.class, () -> assertContentsInOrder(list, "a", "c", "b"));
    
        assertThrows(AssertionFailedError.class, () -> assertContentsInOrder(list, "a", "B", "c"));
      }
    
      public void testAssertContains() {
        List<?> list = asList("a", "b");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 09 19:16:24 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/exception/IllegalAccessRuntimeException.java

     *
     * @author higa
     */
    public class IllegalAccessRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -3649900343028907465L;
    
        /**
         * The target class.
         */
        private final Class<?> targetClass;
    
        /**
         * Creates a {@link IllegalAccessRuntimeException}.
         *
         * @param targetClass
         *            Target class
         * @param cause
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. schema/index.go

    				if idx == nil {
    					idx = &Index{Name: index.Name}
    					indexesByName[index.Name] = idx
    					indexes = append(indexes, idx)
    				}
    				idx.Name = index.Name
    				if idx.Class == "" {
    					idx.Class = index.Class
    				}
    				if idx.Type == "" {
    					idx.Type = index.Type
    				}
    				if idx.Where == "" {
    					idx.Where = index.Where
    				}
    				if idx.Comment == "" {
    					idx.Comment = index.Comment
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed May 21 02:35:56 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. fastapi/.agents/skills/fastapi/references/dependencies.md

        return username
    ```
    
    ## Class Dependencies
    
    Avoid creating class dependencies when possible.
    
    If a class is needed, instead create a regular function dependency that returns a class instance.
    
    Do this:
    
    ```python
    from dataclasses import dataclass
    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    @dataclass
    class DatabasePaginator:
        offset: int = 0
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt

      inline fun <reified T : CallEvent> removeUpToEvent(): T = removeUpToEvent(T::class.java)
    
      inline fun <reified T : CallEvent> findEvent(): T = eventSequence.first { it is T } as T
    
      /**
       * Remove and return the next event from the recorded sequence.
       *
       * @param eventClass a class to assert that the returned event is an instance of, or null to
       *     take any event class.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 4.5K bytes
    - Click Count (0)
Back to Top