Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 240 for Wrap (0.03 sec)

  1. guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for comparing {@link MessageDigest}s and {@link com.google.common.hash.HashFunction}s
     * that wrap {@link MessageDigest}s.
     *
     * <p>Parameters for the benchmark are:
     *
     * <ul>
     *   <li>size: The length of the byte array to hash.
     *   <li>algorithm: the algorithm to hash with (e.g. MD5, SHA1, etc.).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exception/StorageException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * This exception is thrown when a storage-related error occurs.
     * It can be used to wrap underlying storage exceptions, providing a
     * consistent error handling mechanism for storage operations.
     */
    public class StorageException extends FessSystemException {
        private static final long serialVersionUID = 1L;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcSecurityProvider.java

        /**
         * Wraps outgoing DCERPC message data for security protection
         * @param outgoing the buffer containing data to be wrapped
         * @throws DcerpcException if the wrapping operation fails
         */
        void wrap(NdrBuffer outgoing) throws DcerpcException;
    
        /**
         * Unwraps incoming DCERPC message data after security processing
         * @param incoming the buffer containing data to be unwrapped
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

        void mockInteraction_stubsThrow_andVerifiesInvocation() {
            // Arrange: Since SmbUnsupportedOperationException is a checked exception (extends IOException),
            // we need to use a method that can throw checked exceptions or wrap it in a RuntimeException
            @SuppressWarnings("unchecked")
            Supplier<String> supplier = mock(Supplier.class);
            when(supplier.get()).thenThrow(new RuntimeException(new SmbUnsupportedOperationException("boom")));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt

                }
              }
          }
    
        client =
          client
            .newBuilder()
            .connectionSpecs(listOf(spec))
            .eventListenerFactory(
              clientTestRule.wrap(
                object : EventListener() {
                  override fun connectionAcquired(
                    call: Call,
                    connection: Connection,
                  ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

     * possibly run in another thread.
     *
     * <p>{@code UncheckedExecutionException} is intended as an alternative to {@code
     * ExecutionException} when the exception thrown by a task is an unchecked exception. However, it
     * may also wrap a checked exception in some cases.
     *
     * <p>When wrapping an {@code Error} from another thread, prefer {@link ExecutionError}. When
     * wrapping a checked exception, prefer {@code ExecutionException}.
     *
     * @author Charles Fry
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/WrappingScheduledExecutorService.java

    import java.util.concurrent.TimeUnit;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An abstract {@code ScheduledExecutorService} that allows subclasses to {@linkplain
     * #wrapTask(Callable) wrap} tasks before they are submitted to the underlying executor.
     *
     * <p>Note that task wrapping may occur even if the task is never executed.
     *
     * @author Luke Sandberg
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            void testMessagePreservation() {
                String originalMessage = "Original error";
                TransportException original = new TransportException(originalMessage);
    
                // Wrap in another exception
                TransportException wrapper = new TransportException("Wrapper", original);
    
                assertEquals("Wrapper", wrapper.getMessage());
                assertEquals(original, wrapper.getRootCause());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/main/webapp/css/bootstrap.min.css.map

    0 !important;\n}\n\n.flex-grow-1 {\n  flex-grow: 1 !important;\n}\n\n.flex-shrink-0 {\n  flex-shrink: 0 !important;\n}\n\n.flex-shrink-1 {\n  flex-shrink: 1 !important;\n}\n\n.flex-wrap {\n  flex-wrap: wrap !important;\n}\n\n.flex-nowrap {\n  flex-wrap: nowrap !important;\n}\n\n.flex-wrap-reverse {\n  flex-wrap: wrap-reverse !important;\n}\n\n.justify-content-start {\n  justify-content: flex-start !important;\n}\n\n.justify-content-end {\n  justify-content: flex-end !important;\n}\n\n.justify-content-center...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 575.5K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

          // [9-127) includes all ascii non-control characters
          sb.append((char) (random.nextInt(127 - 9) + 9));
        }
        String string = sb.toString();
        sb.setLength(0);
        data = ByteSource.wrap(string.getBytes(charset));
      }
    
      @Benchmark
      public int timeCopy(int reps) throws IOException {
        int r = 0;
        Charset localCharset = charset;
        ByteSource localData = data;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top