Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1701 - 1710 of 2,488 for unit (0.03 sec)

  1. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

      }
    
      CompactLinkedHashMap(int expectedSize, boolean accessOrder) {
        super(expectedSize);
        this.accessOrder = accessOrder;
      }
    
      @Override
      void init(int expectedSize) {
        super.init(expectedSize);
        this.firstEntry = ENDPOINT;
        this.lastEntry = ENDPOINT;
      }
    
      @Override
      int allocArrays() {
        int expectedSize = super.allocArrays();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/escape/CharEscaperBuilderTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.escape;
    
    import junit.framework.TestCase;
    
    public class CharEscaperBuilderTest extends TestCase {
    
      public void testAddEscapes() {
        char[] cs = {'a', 'b', 'c'};
        CharEscaperBuilder builder = new CharEscaperBuilder().addEscapes(cs, "Z");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 15 20:25:06 UTC 2018
    - 975 bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

    import static org.hamcrest.CoreMatchers.sameInstance;
    import static org.junit.Assert.assertThat;
    
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.core.beans.BeanDesc;
    import org.codelibs.core.beans.FieldDesc;
    import org.codelibs.core.beans.ParameterizedClassDesc;
    import org.codelibs.core.exception.FieldNotStaticRuntimeException;
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/Crypto.java

        /**
         * 
         * @param key
         * @return RC4 cipher
         */
        public static Cipher getArcfour ( byte[] key ) {
            try {
                Cipher c = Cipher.getInstance("RC4");
                c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(key, "RC4"));
                return c;
            }
            catch (
                NoSuchAlgorithmException |
                NoSuchPaddingException |
                InvalidKeyException e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedMap
     * implementation.
     */
    @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

    import java.util.Collections;
    import java.util.EnumSet;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code
     * ListMultimap} implementation.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class ListMultimapTestSuiteBuilder<K, V>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. test-site/test/IntegrationTest.java

    import org.junit.*;
    
    import play.mvc.*;
    import play.test.*;
    import play.libs.F.*;
    
    import static play.test.Helpers.*;
    import static org.fest.assertions.Assertions.*;
    
    import static org.fluentlenium.core.filter.FilterConstructor.*;
    
    public class IntegrationTest {
    
        /**
         * add your integration test here
         * in this example we just check if the welcome page is being shown
         */
        @Test
        public void test() {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 773 bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/ByteSourceTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.nio.charset.StandardCharsets.US_ASCII;
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterables;
    import com.google.common.hash.Hashing;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. okhttp-sse/api/okhttp-sse.api

    	public abstract fun newEventSource (Lokhttp3/Request;Lokhttp3/sse/EventSourceListener;)Lokhttp3/sse/EventSource;
    }
    
    public abstract class okhttp3/sse/EventSourceListener {
    	public fun <init> ()V
    	public fun onClosed (Lokhttp3/sse/EventSource;)V
    	public fun onEvent (Lokhttp3/sse/EventSource;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 14:39:59 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/InputStreamUtilTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.io;
    
    import java.io.InputStream;
    
    import junit.framework.TestCase;
    
    import org.codelibs.core.lang.StringUtil;
    
    /**
     * @author higa
     *
     */
    public class InputStreamUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top