Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2271 - 2280 of 3,646 for finally (0.08 sec)

  1. src/test/java/org/codelibs/fess/filter/EncodingFilterTest.java

    import java.io.IOException;
    import java.util.Map;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class EncodingFilterTest extends UnitFessTestCase {
        public void test_normal() throws IOException {
            final EncodingFilter filter = new EncodingFilter();
            Map<String, String[]> paramMap;
    
            paramMap = filter.parseQueryString("a=1", "UTF-8");
            assertEquals(1, paramMap.size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

                    return "http,https";
                }
    
                @Override
                public String getCrawlerFileProtocols() {
                    return "file,smb";
                }
            });
    
            final ProtocolHelper protocolHelper = new ProtocolHelper();
            protocolHelper.init();
            assertEquals(2, protocolHelper.getWebProtocols().length);
            assertEquals("http:", protocolHelper.getWebProtocols()[0]);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Jun 18 00:44:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/MultiReaderTest.java

    /** @author ricebin */
    public class MultiReaderTest extends TestCase {
    
      public void testOnlyOneOpen() throws Exception {
        String testString = "abcdefgh";
        final CharSource source = newCharSource(testString);
        final int[] counter = new int[1];
        CharSource reader =
            new CharSource() {
              @Override
              public Reader openStream() throws IOException {
                if (counter[0]++ != 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

    /**
     * Unit tests for {@link Multimaps} filtering methods.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // nottested
    public class FilteredMultimapTest extends TestCase {
    
      private static final Predicate<Entry<String, Integer>> ENTRY_PREDICATE =
          new Predicate<Entry<String, Integer>>() {
            @Override
            public boolean apply(Entry<String, Integer> entry) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/MultiReaderTest.java

    /** @author ricebin */
    public class MultiReaderTest extends TestCase {
    
      public void testOnlyOneOpen() throws Exception {
        String testString = "abcdefgh";
        final CharSource source = newCharSource(testString);
        final int[] counter = new int[1];
        CharSource reader =
            new CharSource() {
              @Override
              public Reader openStream() throws IOException {
                if (counter[0]++ != 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

    public class Smb2SessionSetupResponse extends ServerMessageBlock2Response {
    
        /**
         * 
         */
        public static final int SMB2_SESSION_FLAGS_IS_GUEST = 0x1;
    
        /**
         * 
         */
        public static final int SMB2_SESSION_FLAGS_IS_NULL = 0x2;
    
        /**
         * 
         */
        public static final int SMB2_SESSION_FLAG_ENCRYPT_DATA = 0x4;
    
        private int sessionFlags;
        private byte[] blob;
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  7. src/bufio/scan_test.go

    		t.Fatal(err)
    	}
    }
    
    // Test that the line splitter handles a final line without a newline.
    func TestScanLineNoNewline(t *testing.T) {
    	const text = "abcdefghijklmn\nopqrstuvwxyz"
    	lines := []string{
    		"abcdefghijklmn",
    		"opqrstuvwxyz",
    	}
    	testNoNewline(text, lines, t)
    }
    
    // Test that the line splitter handles a final line with a carriage return but no newline.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        public void execute(Runnable command) {
          command.run();
          runCount++;
        }
      }
    
      private final class MockCallback implements FutureCallback<String> {
        @Nullable private String value = null;
        @Nullable private Throwable failure = null;
        private boolean wasCalled = false;
        private final Object monitor = new Object();
    
        MockCallback(String expectedValue) {
          this.value = expectedValue;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

         */
        public void addProfileActivation(String id, boolean active, boolean optional) {
            final ActivationSettings settings = ActivationSettings.of(active, optional);
            this.activations.put(id, settings);
        }
    
        private Set<String> getProfileIds(final Predicate<ActivationSettings> predicate) {
            return this.activations.entrySet().stream()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSet.java

    import java.util.Collections;
    import java.util.Set;
    
    /**
     * GWT emulation of {@link RegularImmutableSet}.
     *
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableSet<E> extends ForwardingImmutableSet<E> {
      static final RegularImmutableSet<Object> EMPTY =
          new RegularImmutableSet<Object>(Collections.emptySet());
    
      RegularImmutableSet(Set<E> delegate) {
        super(delegate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top