Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 3,790 for news (0.02 sec)

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

        private final Map<TransferResourceIdentifier, TransferResourceAndSize> transfers = new LinkedHashMap<>();
        private final FileSizeFormat format = new FileSizeFormat(); // use in a synchronized fashion
        private final StringBuilder buffer = new StringBuilder(128); // use in a synchronized fashion
    
        private final boolean printResourceNames;
        private int lastLength;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

         */
        map.put(Integer.class, new Integer(5));
        assertThrows(ClassCastException.class, () -> map.put(Double.class, new Long(42)));
        // Won't compile: map.put(String.class, "x");
      }
    
      public void testPutAndGetInstance() {
        assertNull(map.putInstance(Integer.class, new Integer(5)));
    
        Integer oldValue = map.putInstance(Integer.class, new Integer(7));
        assertEquals(5, (int) oldValue);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java

                model = new MavenStaxReader().read(is);
            }
        }
    
        @Test
        void testV4Model() {
            assertEquals("4.0.0", new MavenModelVersion().getModelVersion(model));
        }
    
        @Test
        void testV4ModelVersion() {
            Model m = model.withModelVersion("4.1.0");
            assertEquals("4.0.0", new MavenModelVersion().getModelVersion(m));
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java

            if (responseData == null || !responseData.hasResponseBody()) {
                throw new CrawlingAccessException("No response body.");
            }
    
            final ResultData resultData = new ResultData();
            resultData.setTransformerName(getName());
    
            try (BufferedInputStream bis = new BufferedInputStream(responseData.getResponseBody())) {
                resultData.setData(IOUtils.toByteArray(bis));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
        abstract long copy(Readable from, Appendable to) throws IOException;
      }
    
      enum TargetSupplier {
        STRING_WRITER {
          @Override
          Appendable get(int sz) {
            return new StringWriter(sz);
          }
        },
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
        abstract long copy(Readable from, Appendable to) throws IOException;
      }
    
      enum TargetSupplier {
        STRING_WRITER {
          @Override
          Appendable get(int sz) {
            return new StringWriter(sz);
          }
        },
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

        // ConcurrentMap implementors. One possibility is to extract most of this class into
        // an AbstractConcurrentMapMultiset.
        return new ConcurrentHashMultiset<>(new ConcurrentHashMap<E, AtomicInteger>());
      }
    
      /**
       * Creates a new {@code ConcurrentHashMultiset} containing the specified elements, using the
       * default initial capacity, load factor, and concurrency settings.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_4x.md

        This artifact has a dependency on Google's Brotli decoder (95 KiB).
    
     *  New: `EventListener.proxySelectStart()`, `proxySelectEnd()` events give visibility into the
        proxy selection process.
     *  New: `Response.byteString()` reads the entire response into memory as a byte string.
     *  New: `OkHttpClient.x509TrustManager` accessor.
     *  New: Permit [new WebSocket response codes][iana_websocket]: 1012 (Service Restart), 1013 (Try
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/InternersTest.java

      }
    
    
      public void testWeak_afterGC() throws InterruptedException {
        Integer canonical = new Integer(5);
        Integer not = new Integer(5);
    
        Interner<Integer> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    
        WeakReference<Integer> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

            if (mergedItems.length == 0) {
                return new SuggestWriterResult();
            }
    
            for (final SuggestItem item : mergedItems) {
                final GetResponse getResponse = client.prepareGet().setIndex(index).setId(item.getId()).get(TimeValue.timeValueSeconds(30));
                if (update && getResponse.isExists()) {
                    final IndexRequestBuilder indexRequestBuilder = new IndexRequestBuilder(client, IndexAction.INSTANCE, index);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top