Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 234 for Wrap (0.01 sec)

  1. src/main/java/jcifs/util/ByteEncodable.java

        private final byte[] bytes;
        private final int off;
        private final int len;
    
        /**
         * Constructs a ByteEncodable object wrapping a byte array segment.
         *
         * @param b the byte array to wrap
         * @param off the offset in the byte array
         * @param len the length of the segment to use
         */
        public ByteEncodable(final byte[] b, final int off, final int len) {
            this.bytes = b;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. 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)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          return Iterators.pollNext(descendingIterator());
        }
    
        private NavigableSet<V> wrap(NavigableSet<V> wrapped) {
          return new WrappedNavigableSet(key, wrapped, (getAncestor() == null) ? this : getAncestor());
        }
    
        @Override
        public NavigableSet<V> descendingSet() {
          return wrap(getSortedSetDelegate().descendingSet());
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java

      }
    
      /** Returns a {@link HashCode} for a sequence of longs, in big-endian order. */
      private static HashCode toHashCode(long... longs) {
        ByteBuffer bb = ByteBuffer.wrap(new byte[longs.length * 8]).order(ByteOrder.LITTLE_ENDIAN);
        for (long x : longs) {
          bb.putLong(x);
        }
        return HashCode.fromBytes(bb.array());
      }
    
      public void testParanoid() {
        HashFn hf =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

            // NETWORK_INTERFACE_INFO structure per MS-SMB2 2.2.32.5.1
            // Total size: 152 bytes
            byte[] buffer = new byte[Smb2ChannelCapabilities.NETWORK_INTERFACE_INFO_SIZE];
            ByteBuffer bb = ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN);
    
            // Next field (4 bytes) - offset to next entry (0 for last entry)
            bb.putInt(0);
    
            // InterfaceIndex (4 bytes)
            bb.putInt(interfaceIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

        private Credentials creds;
    
        /**
         * Constructs a CIFS context wrapper with custom credentials.
         *
         * @param delegate the context to wrap
         * @param creds
         *            Credentials to use
         */
        public CIFSContextCredentialWrapper(final AbstractCIFSContext delegate, final Credentials creds) {
            super(delegate);
            this.creds = creds;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. android/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)
  8. 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)
  9. src/main/java/jcifs/smb/SmbFile.java

                }
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        @Override
        public void delete() throws SmbException {
            try {
                delete(this.fileLocator.getUNCPath());
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
            close();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  10. 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)
Back to top