Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for alice (0.14 sec)

  1. src/main/java/jcifs/smb/SmbTreeConnection.java

                }
            }
        }
    
    
        /**
         * Use a exclusive connection for this tree
         * 
         * If an exclusive connection is used the caller must make sure that the tree handle is kept alive,
         * otherwise the connection will be disconnected once the usage drops to zero.
         * 
         * @param np
         *            whether to use an exclusive connection
         */
        void setNonPooled ( boolean np ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        CharSource concatenated = CharSource.concat(cycle);
    
        String expected = "abcdabcd";
    
        // read the first 8 chars manually, since there's no equivalent to ByteSource.slice
        // TODO(cgdecker): Add CharSource.slice?
        StringBuilder builder = new StringBuilder();
        Reader reader = concatenated.openStream(); // no need to worry about closing
        for (int i = 0; i < 8; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        int chunk2 = dataSize - chunk1;
    
        // Write just enough to not trip the threshold
        if (chunk1 > 0) {
          write(out, data, 0, chunk1, singleByte);
          assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source));
        }
        File file = out.getFile();
        assertNull(file);
    
        // Write data to go over the threshold
        if (chunk2 > 0) {
          if (JAVA_IO_TMPDIR.value().equals("/sdcard")) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/internal/Finalizer.java

           * would be resurrected by virtue of us having a strong reference to it), we should pretty
           * much just shut down and make sure we don't keep it alive any longer than necessary.
           */
          return null;
        }
        try {
          return finalizableReferenceClass.getMethod("finalizeReferent");
        } catch (NoSuchMethodException e) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

        checkNotNull(factory);
        return new ByteSourceFactory() {
          @Override
          public ByteSource createSource(byte[] bytes) throws IOException {
            return factory.createSource(bytes).slice(off, len);
          }
    
          @Override
          public byte[] getExpected(byte[] bytes) {
            byte[] baseExpected = factory.getExpected(bytes);
            int startOffset = (int) Math.min(off, baseExpected.length);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

        public static final int POSITIVE_SESSION_RESPONSE = 0x82; 
        public static final int NEGATIVE_SESSION_RESPONSE = 0x83; 
        static final int SESSION_RETARGET_RESPONSE = 0x84; 
        static final int SESSION_KEEP_ALIVE = 0x85; 
    
        static final int MAX_MESSAGE_SIZE = 0x0001FFFF;
        static final int HEADER_LENGTH = 4;
    
        static void writeInt2( int val, byte[] dst, int dstIndex ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/HttpHeaders.java

      /** The HTTP {@code Location} header field name. */
      public static final String LOCATION = "Location";
      /**
       * The HTTP {@code Keep-Alive} header field name.
       *
       * @since 31.0
       */
      public static final String KEEP_ALIVE = "Keep-Alive";
      /**
       * The HTTP <a href="https://github.com/WICG/nav-speculation/blob/main/no-vary-search.md">{@code
       * No-Vary-Seearch}</a> header field name.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Utf8.java

       */
      public static boolean isWellFormed(byte[] bytes) {
        return isWellFormed(bytes, 0, bytes.length);
      }
    
      /**
       * Returns whether the given byte array slice is a well-formed UTF-8 byte sequence, as defined by
       * {@link #isWellFormed(byte[])}. Note that this can be false even when {@code
       * isWellFormed(bytes)} is true.
       *
       * @param bytes the input buffer
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Striped.java

          return array.length;
        }
      }
    
      /**
       * Implementation of Striped where up to 2^k stripes can be represented, using an
       * AtomicReferenceArray of size 2^k. To map a user key into a stripe, we take a k-bit slice of the
       * user key's (smeared) hashCode(). The stripes are lazily initialized and are weakly referenced.
       */
      @VisibleForTesting
      static class SmallLazyStriped<L> extends PowerOfTwoStriped<L> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

                         */
    /* Technically we should also try to authenticate here but that means doing the session setup and tree connect separately. For now a simple connect will at least tell us if the host is alive. That should be sufficient for 99% of the cases. We can revisit this again for 2.0.
     */
                        trans.connect();
                        tree = trans.getSmbSession( auth ).getSmbTree( dr.share, service );
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
Back to top