Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 581 - 590 of 4,954 for new (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

            TransferResource resource = event.getResource();
            transfers.put(
                    new TransferResourceIdentifier(resource),
                    new TransferResourceAndSize(resource, event.getTransferredBytes()));
    
            StringBuilder buffer = new StringBuilder(128);
            buffer.append("Progress (").append(transfers.size()).append("): ");
    
            synchronized (transfers) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 11:23:19 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertThat(new String(buf)).isEqualTo(expected);
        assertFullyRead(reader);
    
        // read in chunks to fixed array
        reader = new CharSequenceReader(charSequence);
        buf = new char[5];
        StringBuilder builder = new StringBuilder();
        int read;
        while ((read = reader.read(buf, 0, buf.length)) != -1) {
          builder.append(buf, 0, read);
        }
        assertThat(builder.toString()).isEqualTo(expected);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/jar/JarFileUtilTest.java

        /**
         * @throws Exception
         */
        public void testToJarFilePath() throws Exception {
            final File f = new File("/Program Files/foo.jar");
            final URL url = new URL("jar:" + f.toURI().toURL() + "!/");
            final String root = new File("/").getCanonicalPath();
            assertEquals(root + "Program Files" + File.separator + "foo.jar", JarFileUtil.toJarFilePath(url));
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/ClassToInstanceMapTesting.java

          return new Class<?>[length];
        }
    
        @Override
        public Impl[] createValueArray(int length) {
          return new Impl[length];
        }
    
        @Override
        public SampleElements<Entry<Class<?>, Impl>> samples() {
          return new SampleElements<>(
              immutableEntry(One.class, new Impl(1)),
              immutableEntry(Two.class, new Impl(2)),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 20:00:15 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                // Host is empty -> triggers master browser path
                URL anyUrlWithEmptyHost = new URL("file:/");
                when(locator.getURL()).thenReturn(anyUrlWithEmptyHost);
                // Simulate failure to find master browser (UnknownHost wrapped in CIFSException)
                when(locator.getAddress()).thenThrow(new CIFSException("no master", new UnknownHostException("MB")));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java

            ComponentUtil.register(new LogNotificationHelper(), "logNotificationHelper");
            ComponentUtil.getLogNotificationHelper().drainAll();
            ComponentUtil.getFessConfig().setLogNotificationEnabled(true);
            logNotificationTarget = new LogNotificationTarget();
        }
    
        @Test
        public void test_constructor() {
            LogNotificationTarget target = new LogNotificationTarget();
            assertNotNull(target);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            final Pattern parsePattern = Pattern.compile("(.*?)\\s*+=>\\s*+(.*?)\\s*+$");
            final List<CharMappingItem> itemList = new ArrayList<>();
            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

            final Properties properties = new Properties();
            PropertiesUtil.load(properties, inputStreamReader);
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.io.PropertiesUtil#load(Properties, File)} .
         */
        @Test
        public void testLoadPropertiesFile() {
            final Properties properties = new Properties();
            PropertiesUtil.load(properties, inputFile);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

        // Test custom properties
        public void xtest_customProperties() {
            // Create custom FessEnv with custom properties
            FessEnv.SimpleImpl customEnv = new FessEnv.SimpleImpl() {
                protected Properties prepareProperties() {
                    Properties props = new Properties();
                    props.setProperty(FessEnv.lasta_di_SMART_DEPLOY_MODE, "cool");
                    props.setProperty(FessEnv.DEVELOPMENT_HERE, "false");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/ForwardingMapTest.java

        @Override
        public Set<K> keySet() {
          return new StandardKeySet();
        }
    
        @Override
        public Collection<V> values() {
          return new StandardValues();
        }
    
        @Override
        public String toString() {
          return standardToString();
        }
    
        @Override
        public Set<Entry<K, V>> entrySet() {
          return new StandardEntrySet() {
            @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
Back to Top