Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,653 for New (0.15 sec)

  1. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                    writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8));
                } catch (final Exception e) {
                    if (newFile != null) {
                        newFile.delete();
                    }
                    throw new DictionaryException("Failed to write a userDict file.", e);
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

        super.setUp();
        counter = new CountingInputStream(new ByteArrayInputStream(new byte[20]));
      }
    
      public void testReadSingleByte() throws IOException {
        assertEquals(0, counter.getCount());
        assertEquals(0, counter.read());
        assertEquals(1, counter.getCount());
      }
    
      public void testReadArray() throws IOException {
        assertEquals(10, counter.read(new byte[10]));
        assertEquals(10, counter.getCount());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

        @BeforeEach
        void setUp() throws Exception {
            configurator = new DefaultBeanConfigurator();
        }
    
        @AfterEach
        void tearDown() throws Exception {
            configurator = null;
        }
    
        private Xpp3Dom toConfig(String xml) {
            try {
                return new Xpp3Dom(XmlNodeStaxBuilder.build(
                        new StringReader("<configuration>" + xml + "</configuration>"),
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

        @Override
        public Version parseVersion(String version) {
            requireNonNull(version, "version");
            return new DefaultVersion(versionScheme, version);
        }
    
        @Override
        public VersionRange parseVersionRange(String range) {
            requireNonNull(range, "range");
            return new DefaultVersionRange(versionScheme, range);
        }
    
        @Override
        public boolean isSnapshot(String version) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        MockCallback callback = new MockCallback(e);
        addCallback(f, callback, directExecutor());
      }
    
      public void testOnSuccessThrowsRuntimeException() throws Exception {
        RuntimeException exception = new RuntimeException();
        String result = "result";
        SettableFuture<String> future = SettableFuture.create();
        int[] successCalls = new int[1];
        int[] failureCalls = new int[1];
        FutureCallback<String> callback =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/context/BaseContext.java

            this.config = config;
            this.dfs = new DfsImpl(this);
            this.sidResolver = new SIDCacheImpl(this);
            this.urlHandler = new Handler(this);
            this.nameServiceClient = new NameServiceClientImpl(this);
            this.bufferCache = new BufferCacheImpl(this.config);
            this.transportPool = new SmbTransportPoolImpl();
            String defUser = config.getDefaultUsername();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 27 18:25:00 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCacheTest.java

            Set<Artifact> reversedArtifacts = new LinkedHashSet<>(4);
            artifacts.add(new DefaultArtifact("g", "a4", "v", "compile", "jar", "", null));
            artifacts.add(new DefaultArtifact("g", "a3", "v", "compile", "jar", "", null));
            artifacts.add(new DefaultArtifact("g", "a2", "v", "compile", "jar", "", null));
            artifacts.add(new DefaultArtifact("g", "a1", "v", "compile", "jar", "", null));
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Dec 15 06:34:19 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java

            Settings settings = new Settings();
            Mirror mirror = new Mirror();
            mirror.setId("local");
            settings.addMirror(mirror);
            mirror = new Mirror();
            mirror.setId("illegal\\:/chars");
            mirror.setUrl("http://void");
            mirror.setMirrorOf("void");
            settings.addMirror(mirror);
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        Random random = new Random();
        for (int i = 0; i < 100; i++) {
          byte[] bytes = new byte[64];
          random.nextBytes(bytes);
          String s = new String(bytes, UTF_16LE); // so all random strings are valid
          assertEquals(
              new Sink(4).putUnencodedChars(s).hash(),
              new Sink(4).putBytes(s.getBytes(UTF_16LE)).hash());
          assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/Curl.java

            return new CurlRequest(Method.PUT, url);
        }
    
        public static CurlRequest delete(final String url) {
            return new CurlRequest(Method.DELETE, url);
        }
    
        public static CurlRequest head(final String url) {
            return new CurlRequest(Method.HEAD, url);
        }
    
        public static CurlRequest options(final String url) {
            return new CurlRequest(Method.OPTIONS, url);
        }
    
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 1.7K bytes
    - Viewed (0)
Back to top