Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for Count (0.14 sec)

  1. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author taedium
     */
    public class ClassTraversalTest {
    
        private static int count = 0;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            count = 0;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachJarFile() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

            int start = dstIndex;
    
            dst[ dstIndex++ ] = (byte) 0x01; /* BufferFormat */
            SMBUtil.writeInt2(this.count, dst, dstIndex); /* DataLength? */
            dstIndex += 2;
            System.arraycopy(this.b, this.off, dst, dstIndex, this.count);
            dstIndex += this.count;
    
            return dstIndex - start;
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/MD4.java

            context[3] = 0x10325476;
            count = 0L;
            for (int i = 0; i < BLOCK_LENGTH; i++)
                buffer[i] = 0;
        }
    
        /**
         * Continues an MD4 message digest using the input byte.
         */
        public void engineUpdate (byte b) {
            // compute number of bytes still unhashed; ie. present in buffer
            int i = (int)(count % BLOCK_LENGTH);
    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)
  4. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

            final Vector<String> vector = new Vector<String>();
            vector.add("a");
            vector.add("b");
            int count = 0;
            for (final String s : iterable(vector.elements())) {
                ++count;
            }
            assertThat(count, is(2));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.collection.EnumerationIterator#EnumerationIterator(Enumeration)}
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/UUID.java

    import jcifs.smb1.util.*;
    
    public class UUID extends rpc.uuid_t {
    
        public static int hex_to_bin(char[] arr, int offset, int length) {
            int value = 0;
            int ai, count;
    
            count = 0;
            for (ai = offset; ai < arr.length && count < length; ai++) {
                value <<= 4;
                switch (arr[ai]) {
                    case '0': case '1': case '2': case '3': case '4':
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                }
            }
    
            int totalCount = 0;
            int count = 1;
            final ExecutorService executorService = Executors.newFixedThreadPool(options.numOfThreads);
            try {
                while (count != 0) {
                    count = ComponentUtil.getThumbnailManager().generate(executorService, options.cleanup);
                    totalCount += count;
                }
                executorService.shutdown();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareEnum.java

             * 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)
  8. src/main/java/jcifs/smb1/smb1/ACE.java

            bi += 4;
            sid = new SID(buf, bi);
            return size;
        }
    
        void appendCol(StringBuffer sb, String str, int width) {
            sb.append(str);
            int count = width - str.length();
            for (int i = 0; i < count; i++) {
                sb.append(' ');
            }
        }
        /**
         * Return a string represeting this ACE.
         * <p>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

            }
    
            @Override
            public void dispose() {
                ++count;
                names += name;
            }
        }
    
        /**
         *
         */
        public class TestDisposable2 implements Disposable {
            @Override
            public void dispose() {
                ++count;
                throw new RuntimeException();
            }
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndXResponse.java

    public class SmbComWriteAndXResponse extends AndXServerMessageBlock {
    
        private long count;
    
    
        /**
         * 
         * @param config
         */
        public SmbComWriteAndXResponse ( Configuration config ) {
            super(config);
        }
    
    
        /**
         * @return the count
         */
        public final long getCount () {
            return this.count;
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
Back to top