Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1011 - 1020 of 5,478 for newA (0.02 seconds)

  1. guava/src/com/google/common/collect/Queues.java

      public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity) {
        return new ArrayBlockingQueue<>(capacity);
      }
    
      // ArrayDeque
    
      /**
       * Creates an empty {@code ArrayDeque}.
       *
       * @since 12.0
       */
      public static <E> ArrayDeque<E> newArrayDeque() {
        return new ArrayDeque<>();
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 18K bytes
    - Click Count (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

            byte[] data = new byte[1024];
            for (int i = 0; i < data.length; i++) {
                data[i] = (byte) (i % 256);
            }
            try (FileOutputStream fos = new FileOutputStream(tempFile)) {
                fos.write(data);
            }
    
            try (TemporaryFileInputStream stream = new TemporaryFileInputStream(tempFile)) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 22 13:28:22 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

                modelValueSource2 = new ProblemDetectingValueSource(modelValueSource2, "", "project.", problems);
            }
    
            // NOTE: Order counts here!
            List<ValueSource> valueSources = new ArrayList<>(9);
    
            if (projectDir != null) {
                ValueSource basedirValueSource = new PrefixedValueSourceWrapper(
                        new AbstractValueSource(false) {
                            @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/Collections2Test.java

      @AndroidIncompatible // test-suite builders
      private static Test testsForFilter() {
        return CollectionTestSuiteBuilder.using(
                new TestStringCollectionGenerator() {
                  @Override
                  public Collection<String> create(String[] elements) {
                    List<String> unfiltered = new ArrayList<>();
                    unfiltered.add("yyy");
                    Collections.addAll(unfiltered, elements);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                // Test various boundary values
                assertEquals(0, new NdrShort(0).value);
                assertEquals(255, new NdrShort(255).value);
                assertEquals(0, new NdrShort(256).value); // 256 & 0xFF = 0
                assertEquals(255, new NdrShort(-1).value); // -1 & 0xFF = 255
                assertEquals(128, new NdrShort(-128).value); // -128 & 0xFF = 128
            }
    
            @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom1 = new File(pom0.getParentFile(), "p1/pom.xml");
            File pom2 = new File(pom1.getParentFile(), "p2/pom.xml");
            File pom3 = new File(pom2.getParentFile(), "p3/pom.xml");
            File pom4 = new File(pom3.getParentFile(), "p4/pom.xml");
            File pom5 = new File(pom4.getParentFile(), "p5/pom.xml");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 04 10:35:11 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/base/SuppliersTest.java

          throws Throwable {
        AtomicInteger count = new AtomicInteger(0);
        AtomicReference<Throwable> thrown = new AtomicReference<>(null);
        int numThreads = 3;
        Thread[] threads = new Thread[numThreads];
        long timeout = SECONDS.toNanos(60);
    
        Supplier<Boolean> supplier =
            new Supplier<Boolean>() {
              boolean isWaiting(Thread thread) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/base/SuppliersTest.java

          throws Throwable {
        AtomicInteger count = new AtomicInteger(0);
        AtomicReference<Throwable> thrown = new AtomicReference<>(null);
        int numThreads = 3;
        Thread[] threads = new Thread[numThreads];
        long timeout = SECONDS.toNanos(60);
    
        Supplier<Boolean> supplier =
            new Supplier<Boolean>() {
              boolean isWaiting(Thread thread) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      public SafeTreeMap(Map<? extends K, ? extends V> map) {
        this(new TreeMap<K, V>(map));
      }
    
      public SafeTreeMap(SortedMap<K, ? extends V> map) {
        this(new TreeMap<K, V>(map));
      }
    
      private SafeTreeMap(NavigableMap<K, V> delegate) {
        this.delegate = delegate;
        if (delegate == null) {
          throw new NullPointerException();
        }
        for (K k : keySet()) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

            private DecimalFormat smallFormat;
            private DecimalFormat largeFormat;
    
            FileSizeFormat(Locale locale) {
                smallFormat = new DecimalFormat("#0.0", new DecimalFormatSymbols(locale));
                largeFormat = new DecimalFormat("###0", new DecimalFormatSymbols(locale));
            }
    
            public String format(long size) {
                return format(size, null);
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Apr 22 22:13:51 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top