Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1341 - 1350 of 6,205 for newA (0.02 seconds)

  1. android/guava/src/com/google/common/collect/MultimapBuilder.java

          Comparator<K0> comparator) {
        checkNotNull(comparator);
        return new MultimapBuilderWithKeys<K0>() {
          @Override
          <K extends K0, V extends @Nullable Object> Map<K, Collection<V>> createMap() {
            return new TreeMap<>(comparator);
          }
        };
      }
    
      /**
       * Uses an {@link EnumMap} to map keys to value collections.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/MultimapBuilder.java

          Comparator<K0> comparator) {
        checkNotNull(comparator);
        return new MultimapBuilderWithKeys<K0>() {
          @Override
          <K extends K0, V extends @Nullable Object> Map<K, Collection<V>> createMap() {
            return new TreeMap<>(comparator);
          }
        };
      }
    
      /**
       * Uses an {@link EnumMap} to map keys to value collections.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java

        @Test
        public void test_empty() {
            final FieldConfigs fieldConfigs = new FieldConfigs(Collections.emptyMap());
            assertTrue(fieldConfigs.getConfig("test").isEmpty());
        }
    
        @Test
        public void test_values() {
            final Map<String, String> params = Maps.of("foo", "bar");
            FieldConfigs fieldConfigs = new FieldConfigs(params);
            assertTrue(fieldConfigs.getConfig("test").isEmpty());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/llm/LlmMessageTest.java

        }
    
        @Test
        public void test_defaultConstructor() {
            final LlmMessage message = new LlmMessage();
            assertNull(message.getRole());
            assertNull(message.getContent());
        }
    
        @Test
        public void test_constructorWithRoleAndContent() {
            final LlmMessage message = new LlmMessage("system", "You are a helpful assistant.");
            assertEquals("system", message.getRole());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java

        TestSuite suite = new TestSuite();
        suite.addTestSuite(SafeTreeMapTest.class);
        suite.addTest(
            NavigableMapTestSuiteBuilder.using(
                    new TestStringSortedMapGenerator() {
                      @Override
                      protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                        NavigableMap<String, String> map = new SafeTreeMap<>(Ordering.natural());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java

      @Param({"10", "100", "10000"})
      int n;
    
      private final byte[][] encodingInputs = new byte[INPUTS_COUNT][];
      private final String[] decodingInputs = new String[INPUTS_COUNT];
    
      @BeforeExperiment
      public void setUp() {
        Random rng = new Random();
        for (int i = 0; i < encodingInputs.length; i++) {
          encodingInputs[i] = new byte[n];
          rng.nextBytes(encodingInputs[i]);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  7. guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java

        TestSuite suite = new TestSuite();
        suite.addTestSuite(SafeTreeMapTest.class);
        suite.addTest(
            NavigableMapTestSuiteBuilder.using(
                    new TestStringSortedMapGenerator() {
                      @Override
                      protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                        NavigableMap<String, String> map = new SafeTreeMap<>(Ordering.natural());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

            byte[] dst = new byte[42];
    
            // When
            int result = trans2SetFileInformation.writeDataWireFormat(dst, 0);
    
            // Then
            assertEquals(40, result); // Returns 40 bytes written
        }
    
        @Test
        void testReadSetupWireFormat() {
            // When
            int result = trans2SetFileInformation.readSetupWireFormat(new byte[0], 0, 0);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/bucket/terms/StringTermsSerializationBenchmark.java

            List<StringTerms.Bucket> resultBuckets = new ArrayList<>(buckets);
            for (int i = 0; i < buckets; i++) {
                InternalAggregations inner = withNested ? InternalAggregations.from(List.of(newTerms(false))) : InternalAggregations.EMPTY;
                resultBuckets.add(new StringTerms.Bucket(new BytesRef("test" + i), i, inner, false, 0, DocValueFormat.RAW));
            }
            return new StringTerms(
                "test",
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Aug 12 21:50:17 GMT 2021
    - 3K bytes
    - Click Count (0)
  10. internal/hash/sha256/sh256.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package sha256
    
    import (
    	"crypto/sha256"
    	"hash"
    )
    
    // New initializes a new sha256.New()
    func New() hash.Hash { return sha256.New() }
    
    // Sum256 returns the SHA256 checksum of the data.
    func Sum256(data []byte) [sha256.Size]byte { return sha256.Sum256(data) }
    
    // Size is the size of a SHA256 checksum in bytes.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.1K bytes
    - Click Count (0)
Back to Top