Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1621 - 1630 of 3,883 for void (0.03 sec)

  1. src/main/java/jcifs/smb1/netbios/NbtSocket.java

        }
        public String toString() {
            return "NbtSocket[addr=" + address +
                    ",port=" + super.getPort() +
                    ",localport=" + super.getLocalPort() + "]";
        }
        private void connect() throws IOException {
            byte[] buffer = new byte[BUFFER_SIZE];
            int type;
            InputStream in;
    
            try {
                in = super.getInputStream();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/context/SingletonContext.java

         * Initialize singleton context using custom properties
         * 
         * This method can only be called once.
         * 
         * @param props
         * @throws CIFSException
         */
        public static synchronized final void init ( Properties props ) throws CIFSException {
            if ( INSTANCE != null ) {
                throw new CIFSException("Singleton context is already initialized");
            }
            Properties p = new Properties();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 08:53:08 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/HashMultimapTest.java

       */
      public void testCreate() {
        HashMultimap<String, Integer> multimap = HashMultimap.create();
        multimap.put("foo", 1);
        multimap.put("bar", 2);
        multimap.put("foo", 3);
        assertEquals(ImmutableSet.of(1, 3), multimap.get("foo"));
        assertEquals(2, multimap.expectedValuesPerKey);
      }
    
      public void testCreateFromMultimap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/HashMultimapTest.java

       */
      public void testCreate() {
        HashMultimap<String, Integer> multimap = HashMultimap.create();
        multimap.put("foo", 1);
        multimap.put("bar", 2);
        multimap.put("foo", 3);
        assertEquals(ImmutableSet.of(1, 3), multimap.get("foo"));
        assertEquals(2, multimap.expectedValuesPerKey);
      }
    
      public void testCreateFromMultimap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/sql/DriverManagerUtil.java

         */
        public static void registerDriver(final Class<Driver> driverClass) {
            assertArgumentNotNull("driverClass", driverClass);
            registerDriver(ClassUtil.newInstance(driverClass));
        }
    
        /**
         * JDBCドライバを登録します。
         *
         * @param driver
         *            登録するJDBCドライバ。{@literal null}であってはいけません
         */
        public static void registerDriver(final Driver driver) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        }
    
    
        /**
         * @param dataCount
         *            the dataCount to set
         */
        public final void setDataCount ( int dataCount ) {
            this.dataCount = dataCount;
        }
    
    
        /**
         * @param buffer
         */
        public void setBuffer ( byte[] buffer ) {
            this.txn_buf = buffer;
        }
    
    
        /**
         * @return the txn_buf
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 9.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java

         */
        @Test
        public void testEmptyIterator() {
            final EmptyIterator<String> emptyIterator = new EmptyIterator<String>();
            assertThat(emptyIterator, is(notNullValue()));
        }
    
        /**
         * Test method for {@link org.codelibs.core.collection.EmptyIterator#remove()}
         * .
         */
        @Test
        public void testRemove() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class QueryStringBuilderTest extends UnitFessTestCase {
    
        public void test_query() {
            assertEquals("", getQuery("", new String[0], Collections.emptyMap(), Collections.emptyMap(), false));
        }
    
        public void test_conditions_q() {
            final String k = "q";
            assertEquals("", getAsQuery(Collections.singletonMap(k, new String[] { "" })));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

    import org.codelibs.core.lang.ClassUtil;
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class TraverserUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testFromClass_FileSystem() throws Exception {
            final Traverser traverser = TraversalUtil.getTraverser(DummyTest.class);
            assertThat(traverser, is(notNullValue()));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/timer/TimeoutTask.java

        }
    
        /**
         * キャンセルします。
         */
        public void cancel() {
            status = CANCELED;
        }
    
        /**
         * 止まっているかどうか返します。
         *
         * @return 止まっているかどうか
         */
        public boolean isStopped() {
            return status == STOPPED;
        }
    
        /**
         * タイマーをとめます。
         */
        public void stop() {
            if (status != ACTIVE) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top