Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for Murray (0.15 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            final String[] array = StringUtil.split("aaa\nbbb", "\n");
            assertEquals("1", 2, array.length);
            assertEquals("2", "aaa", array[0]);
            assertEquals("3", "bbb", array[1]);
        }
    
        /**
         *
         */
        @Test
        public void testSplit2() {
            final String[] array = StringUtil.split("aaa, bbb", ", ");
            assertEquals("1", 2, array.length);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/MD4.java

            // save number of bits, casting the long to an array of 8 bytes
            // save low-order byte first.
            for (int i = 0; i < 8; i++)
                tail[padLen + i] = (byte)((count * 8) >>> (8 * i));
    
            engineUpdate(tail, 0, tail.length);
    
            byte[] result = new byte[16];
            // cast this MD4's context (array of 4 ints) into an array of 16 bytes.
            for (int i = 0; i < 4; i++)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareEnum.java

             * interface (because it is generated from IDL). Therefore
             * we must create an array of objects that do.
             */
            srvsvc.ShareInfoCtr1 ctr = (srvsvc.ShareInfoCtr1)info;
            MsrpcShareInfo1[] entries = new MsrpcShareInfo1[ctr.count];
            for (int i = 0; i < ctr.count; i++) {
                entries[i] = new MsrpcShareInfo1(ctr.array[i]);
            }
            return entries;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/ArrayIterator.java

    /**
     * 配列を{@link Iterator}にするAdaptorです。
     * <p>
     * 次のように使います.
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.collection.ArrayIterator.*;
     *
     * String[] array = ...;
     * for (String element : iterable(array)) {
     *     ...
     * }
     * </pre>
     *
     * @author shot
     * @param <T>
     *            配列の要素の型
     */
    public class ArrayIterator<T> implements Iterator<T> {
    
        /** イテレートする要素の配列 */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/DES.java

            decrypt( cipherText, 0, clearText, 0 );
        }
    
        /**
         * encrypts an array where the length must be a multiple of 8
         */
        public byte[] encrypt(byte[] clearText) {
    
            int length = clearText.length;
    
            if (length % 8 != 0) {
                System.out.println("Array must be a multiple of 8");
                return null;
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 21.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/ndr/NdrException.java

    import java.io.IOException;
    
    public class NdrException extends IOException {
    
        public static final String NO_NULL_REF = "ref pointer cannot be null";
        public static final String INVALID_CONFORMANCE = "invalid array conformance";
    
        public NdrException( String msg ) {
            super( msg );
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * @throws SmbException
     # @return An array of filenames
     */
        public String[] list( SmbFilenameFilter filter ) throws SmbException {
            return list( "*", ATTR_DIRECTORY | ATTR_HIDDEN | ATTR_SYSTEM, filter, null );
        }
    
    /**
     * List the contents of this SMB resource as an array of
     * <code>SmbFile</code> objects. This method is much more efficient than
    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)
  8. src/main/java/org/codelibs/core/lang/StringUtil.java

                return null;
            }
            s = s.toLowerCase();
            final String[] array = StringUtil.split(s, "_");
            if (array.length == 1) {
                return StringUtil.capitalize(s);
            }
            final StringBuilder buf = new StringBuilder(40);
            for (final String element : array) {
                buf.append(StringUtil.capitalize(element));
            }
            return buf.toString();
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/GenericsUtil.java

     */
    package org.codelibs.core.lang;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentArrayIndex;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.lang.reflect.Array;
    import java.lang.reflect.GenericArrayType;
    import java.lang.reflect.GenericDeclaration;
    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/Config.java

            String b = getProperty( key );
            if( b != null ) {
                def = b.toLowerCase().equals( "true" );
            }
            return def;
        }
    
        /**
         * Retrieve an array of <tt>InetAddress</tt> created from a property
         * value containting a <tt>delim</tt> separated list of hostnames and/or
         * ipaddresses.
         */
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
Back to top