Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for dlim (0.01 sec)

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

         * @param dlim the maximum index in the destination array
         * @return the number of bytes written
         */
        public static int enc_utf8(final String str, final byte[] dst, int di, final int dlim) {
            final int start = di;
            int ch;
            final int strlen = str.length();
    
            for (int i = 0; di < dlim && i < strlen; i++) {
                ch = str.charAt(i);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/Encdec.java

         * @param slim the limit index in the source array
         * @return the decoded String
         * @throws IOException if a decoding error occurs
         */
        public static String dec_utf8(final byte[] src, int si, final int slim) throws IOException {
            final char[] uni = new char[slim - si];
            int ui, ch;
    
            for (ui = 0; si < slim && (ch = src[si++] & 0xFF) != 0; ui++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/Config.java

            return def;
        }
    
        /**
         * Retrieve an array of <code>InetAddress</code> created from a property
         * value containting a <code>delim</code> separated list of hostnames and/or
         * ipaddresses.
         *
         * @param key the property key to look up
         * @param delim the delimiter used to separate addresses in the property value
         * @param def the default array to return if the property is not found or cannot be parsed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/Utf8Test.java

       * @param lim the limit of bytes to process encoded as a long as big-endian, or -1 to mean the max
       *     limit for numBytes
       */
      @GwtIncompatible // java.nio.charset.Charset
      private static void testBytes(int numBytes, long expectedCount, long start, long lim) {
        byte[] bytes = new byte[numBytes];
        if (lim == -1) {
          lim = 1L << (numBytes * 8);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/StringUtil.java

         * Splits the string by the specified delimiter.
         *
         * @param str
         *            the string to split
         * @param delim
         *            the delimiter to use for splitting
         * @return an array of split strings
         */
        public static String[] split(final String str, final String delim) {
            if (isEmpty(str)) {
                return EMPTY_STRINGS;
            }
            final List<String> list = newArrayList();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

        void tryClose() {
            synchronized (LOCK) {
    
                /* Yes, there is the potential to drop packets
                 * because we might close the socket during a
                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
                 * is serviced. The alternative complicates things
                 * more than I think is worth it.
                 */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            synchronized (this.LOCK) {
    
                /*
                 * Yes, there is the potential to drop packets
                 * because we might close the socket during a
                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
                 * is serviced. The alternative complicates things
                 * more than I think is worth it.
                 */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
Back to top