Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2781 - 2790 of 3,096 for objTest (0.25 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

       */
      @Test
      fun duplexWithRedirect() {
        enableProtocol(Protocol.HTTP_2)
        val duplexResponseSent = CountDownLatch(1)
        listener =
          object : RecordingEventListener() {
            override fun responseHeadersEnd(
              call: Call,
              response: Response,
            ) {
              try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesTest.java

      private static File root() {
        return File.listRoots()[0];
      }
    
      /** Returns a {@code File} object for the given path parts. */
      private static File file(String first, String... more) {
        return file(new File(first), more);
      }
    
      /** Returns a {@code File} object for the given path parts. */
      private static File file(File first, String... more) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpURLConnection.java

            handshake();
            return this.connection.getHeaderField(index);
        }
    
        @Override
        public Object getContent() throws IOException {
            handshake();
            return this.connection.getContent();
        }
    
        @Override
        public Object getContent(final Class[] classes) throws IOException {
            handshake();
            return this.connection.getContent(classes);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSource.java

       *     processor} throws an {@code IOException}
       * @since 16.0
       */
      @CanIgnoreReturnValue // some processors won't return a useful result
      @ParametricNullness
      public <T extends @Nullable Object> T readLines(LineProcessor<T> processor) throws IOException {
        checkNotNull(processor);
    
        Closer closer = Closer.create();
        try {
          Reader reader = closer.register(openStream());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/CharSource.java

       *     processor} throws an {@code IOException}
       * @since 16.0
       */
      @CanIgnoreReturnValue // some processors won't return a useful result
      @ParametricNullness
      public <T extends @Nullable Object> T readLines(LineProcessor<T> processor) throws IOException {
        checkNotNull(processor);
    
        Closer closer = Closer.create();
        try {
          Reader reader = closer.register(openStream());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SID.java

            for (int i = 0; i < this.sub_authority_count; i++) {
                hcode += 65599 * this.sub_authority[i];
            }
            return hcode;
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final SID sid) {
                if (sid == this) {
                    return true;
                }
                if (sid.sub_authority_count == this.sub_authority_count) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            pathField.setAccessible(true);
            String actualPath = (String) pathField.get(req);
            assertEquals(path, actualPath);
        }
    
        @Test
        @DisplayName("Should create proper response object")
        void testCreateResponse() {
            // When
            Smb2TreeConnectResponse response = request.createResponse(mockContext, request);
    
            // Then
            assertNotNull(response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/FileUtil.java

            }
        }
    
        /**
         * Converts this abstract pathname to a <code>file:</code> URL.
         *
         * @param file the file (must not be {@literal null})
         * @return a URL object representing the file URL
         */
        public static URL toURL(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return file.toURI().toURL();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/rpc.java

                    node[_i] = (byte) _src.dec_ndr_small();
                }
            }
        }
    
        /**
         * Policy handle structure for DCE/RPC operations.
         * Represents a handle to a policy object on the server.
         */
        public static class policy_handle extends NdrObject {
    
            /**
             * Default constructor for policy_handle.
             */
            public policy_handle() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            }
        }
    
        @Override
        protected void finalize() throws Throwable {
            try {
                // Add null check to prevent NPE if object was not fully constructed
                if (this.usageCount != null && this.usageCount.get() != 0) {
                    log.warn("Tree handle was not properly released, performing emergency cleanup: "
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top