Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1711 - 1720 of 3,061 for toObject (0.06 sec)

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

            void testUnwrap() throws Exception {
                SID sid = new SID("S-1-5-21-1");
                // Happy path
                assertSame(sid, sid.unwrap(SID.class));
                assertSame(sid, sid.unwrap(Object.class));
                // Invalid unwrap
                assertThrows(ClassCastException.class, () -> sid.unwrap(String.class));
            }
    
            @Test
            @DisplayName("isEmpty and isBlank edge cases")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

        private static final String RO = Config.getProperty("jcifs.smb1.resolveOrder");
    
        private static LogStream log = LogStream.getInstance();
    
        private final Object LOCK = new Object();
    
        private final int lport;
        private int closeTimeout;
        private final byte[] snd_buf, rcv_buf;
        private DatagramSocket socket;
        private final DatagramPacket in, out;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            }
    
            @Override
            public boolean setInitParameter(String name, String value) {
                return false;
            }
    
            @Override
            public void setAttribute(String name, Object object) {
            }
    
            @Override
            public void removeAttribute(String name) {
            }
    
            @Override
            public String getServletContextName() {
                return null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

        void testMaxCountValues() {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            // Verify the object is created with expected configuration
            // totalParameterCount should be 2
            // totalDataCount should be 0
            // maxParameterCount should be 0
            // maxDataCount should be 800
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. docs/en/docs/reference/request.md

    # `Request` class
    
    You can declare a parameter in a *path operation function* or dependency to be of type `Request` and then you can access the raw request object directly, without any validation, etc.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Request
    ```
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 518 bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class CollectionIteratorTester<E extends @Nullable Object>
        extends AbstractCollectionTester<E> {
      public void testIterator() {
        List<E> iteratorElements = new ArrayList<>();
        for (E element : collection) { // uses iterator()
          iteratorElements.add(element);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/EvictingQueue.java

        }
        return standardAddAll(collection);
      }
    
      @Override
      @J2ktIncompatible // Incompatible return type change. Use inherited implementation
      public Object[] toArray() {
        /*
         * If we could, we'd declare the no-arg `Collection.toArray()` to return "Object[] but elements
         * have the same nullness as E." Since we can't, we declare it to return nullable elements, and
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

      }
    
      @SuppressWarnings("SelfComparison")
      public void testGet_comparable() {
        @SuppressWarnings("unchecked") // The null value can compare with any Object
        Comparable<Object> comparable = ArbitraryInstances.get(Comparable.class);
        assertEquals(0, comparable.compareTo(comparable));
        assertTrue(comparable.compareTo("") > 0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  9. okhttp/src/jvmMain/kotlin/okhttp3/OkHttp.jvm.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import okhttp3.internal.CONST_VERSION
    
    actual object OkHttp {
      @JvmField
      actual val VERSION: String = CONST_VERSION
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 738 bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

            } catch (e: Exception) {
              exceptions.add(e)
            }
          }
        }
    
        fun takeException(): Exception = exceptions.take()
      }
    
      companion object {
        fun uppercase(original: ResponseBody): ResponseBody =
          object : ResponseBody() {
            override fun contentType() = original.contentType()
    
            override fun contentLength() = original.contentLength()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
Back to top