Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 731 - 740 of 836 for setOs (0.02 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        addAll(list, elements);
        return list;
      }
    
      public static <E extends @Nullable Object> List<E> copyToList(E[] elements) {
        return copyToList(asList(elements));
      }
    
      // Clone of Sets.newLinkedHashSet
      public static <E extends @Nullable Object> Set<E> copyToSet(Iterable<? extends E> elements) {
        Set<E> set = new LinkedHashSet<>();
        addAll(set, elements);
        return set;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 17.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        // Not testing rowKeySet() or columnKeySet() of Table.transformValues()
        // since the transformation doesn't affect the row and column key sets.
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  3. cmd/xl-storage_test.go

    	u := url.URL{Path: path}
    	return newXLStorage(Endpoint{
    		URL:     &u,
    		IsLocal: true,
    		PoolIdx: 0,
    		SetIdx:  0,
    		DiskIdx: diskIdx,
    	}, true)
    }
    
    // creates a temp dir and sets up xlStorage layer.
    // returns xlStorage layer, temp dir path to be used for the purpose of tests.
    func newXLStorageTestSetup(tb testing.TB) (*xlStorageDiskIDCheck, string, error) {
    	diskPath := tb.TempDir()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(0x003300, (int) webSafeColors.get(6));
        ImmutableList<Integer> addedColor = webSafeColorsBuilder.add(0x00BFFF).build();
        assertEquals(
            "Modifying the builder should not have changed any already built sets",
            216,
            webSafeColors.size());
        assertEquals("the new array should be one bigger than webSafeColors", 217, addedColor.size());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

                  countMap.remove(element, existingCounter);
                }
                return oldValue;
              }
            }
          }
        }
      }
    
      /**
       * Sets the number of occurrences of {@code element} to {@code newCount}, but only if the count is
       * currently {@code expectedOldCount}. If {@code element} does not appear in the multiset exactly
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 08 22:42:14 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/Joiner.java

         *
         * In theory, we can quickly determine the size of any Collection. However, thanks to
         * regrettable implementations like our own Sets.filter, Collection.size() is sometimes a
         * linear-time operation, and it can even have side effects. Thus, we limit the special case to
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Queues.java

    import java.util.concurrent.TimeUnit;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Static utility methods pertaining to {@link Queue} and {@link Deque} instances. Also see this
     * class's counterparts {@link Lists}, {@link Sets}, and {@link Maps}.
     *
     * @author Kurt Alfred Kluever
     * @since 11.0
     */
    @GwtCompatible
    public final class Queues {
      private Queues() {}
    
      // ArrayBlockingQueue
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/s3/S3Client.java

        }
    
        /**
         * Returns the character set used for content encoding.
         * @return the charset
         */
        public String getCharset() {
            return charset;
        }
    
        /**
         * Sets the character set used for content encoding.
         * @param charset the charset to set
         */
        public void setCharset(final String charset) {
            this.charset = charset;
        }
    
        /*
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/collection/ArrayMap.java

            final Entry<K, V> e = new Entry<>(hashCode, key, value, mapTable[index]);
            mapTable[index] = e;
            listTable[size++] = e;
            return null;
        }
    
        /**
         * Sets the value at the specified index.
         *
         * @param index
         *            the index
         * @param value
         *            the value
         */
        public void setAt(final int index, final V value) {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

                    checkUnknownElement(parser, strict);
                }
            }
            return coreExtensions;
        } // -- CoreExtensions parseCoreExtensions( XmlPullParser, boolean )
    
        /**
         * Sets the state of the "add default entities" flag.
         *
         * @param addDefaultEntities a addDefaultEntities object.
         */
        public void setAddDefaultEntities(boolean addDefaultEntities) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 25.3K bytes
    - Click Count (0)
Back to Top