Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 1,166 for handle2 (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                oplockLevelField.setAccessible(true);
                assertEquals(oplockLevel, oplockLevelField.get(notification));
            }
    
            @Test
            @DisplayName("Should handle buffer with offset correctly")
            void testReadWithBufferOffset() throws Exception {
                int offset = 10;
                byte[] buffer = new byte[64];
                byte[] fileId = createTestData(16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/Converter.java

         */
        Object getAsObject(String value);
    
        /**
         * Returns {@literal true} if this converter can handle the specified type.
         *
         * @param clazz
         *            the type. Must not be {@literal null}
         * @return {@literal true} if this converter can handle the specified type
         */
        boolean isTarget(Class<?> clazz);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. docs/en/docs/reference/openapi/index.md

    # OpenAPI
    
    There are several utilities to handle OpenAPI.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 158 bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

            };
        return newProxy(interfaceType, handler);
      }
    
      // TODO: replace with version in common.reflect if and when it's open-sourced
      private static <T> T newProxy(Class<T> interfaceType, InvocationHandler handler) {
        Object object =
            Proxy.newProxyInstance(
                interfaceType.getClassLoader(), new Class<?>[] {interfaceType}, handler);
        return interfaceType.cast(object);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. cmd/sftp-server-driver.go

    	}
    	return sftp.Handlers{
    		FileGet:  handler,
    		FilePut:  handler,
    		FileCmd:  handler,
    		FileList: handler,
    	}
    }
    
    type forwardForTransport struct {
    	tr  http.RoundTripper
    	fwd string
    }
    
    func (f forwardForTransport) RoundTrip(r *http.Request) (*http.Response, error) {
    	r.Header.Set("X-Forwarded-For", f.fwd)
    	return f.tr.RoundTrip(r)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 10 16:35:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacCredentialTypeTest.java

         */
        @Test
        void testIsCredentialTypeCorrectWithNullData() {
            // The constructor check `if (!isCredentialTypeCorrect())` handles the null case.
            // We verify that the constructor throws an exception, which indirectly tests the desired logic.
            assertThrows(PACDecodingException.class, () -> new PacCredentialType(null));
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

     *
     * @author Gregory Kick
     * @since 8.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class UncaughtExceptionHandlers {
      private UncaughtExceptionHandlers() {}
    
      /**
       * Returns an exception handler that exits the system. This is particularly useful for the main
       * thread, which may start up other, non-daemon threads, but fail to fully initialize the
       * application successfully.
       *
       * <p>Example usage:
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

         * monitors their progress, and handles cleanup operations.
         *
         * <p>The method:</p>
         * <ul>
         *   <li>Creates crawler threads for each data configuration</li>
         *   <li>Manages concurrent execution based on thread count limits</li>
         *   <li>Monitors thread completion and handles cleanup</li>
         *   <li>Records execution timing and statistics</li>
         * </ul>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.io.Closeable
    import java.util.logging.Handler
    import java.util.logging.LogRecord
    
    object JsseDebugLogging {
      data class JsseDebugMessage(
        val message: String,
        val param: String?,
      ) {
        enum class Type {
          Handshake,
          Plaintext,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            // Each name should write at least 34 bytes (encoded name + scope)
            assertTrue(bytesWritten >= 68);
        }
    
        @Test
        @DisplayName("writeTrailerWireFormat with scope should handle scoped names")
        void testWriteTrailerWireFormatWithScope() {
            when(mockCalledName.getName()).thenReturn("SERVER");
            when(mockCalledName.getNameType()).thenReturn(0x20);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top