Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 1,500 for PUT (0.01 seconds)

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

       *     #forcePut} instead.
       */
      @CanIgnoreReturnValue
      @Override
      @Nullable V put(@ParametricNullness K key, @ParametricNullness V value);
    
      /**
       * An alternate form of {@code put} that silently removes any existing entry with the value {@code
       * value} before proceeding with the {@link #put} operation. If the bimap previously contained the
       * provided key-value mapping, this method has no effect.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

      }
    
      public void testPrimitiveAndWrapper() {
        ImmutableTypeToInstanceMap<Number> map =
            ImmutableTypeToInstanceMap.<Number>builder()
                .put(Integer.class, 0)
                .put(int.class, 1)
                .build();
        assertEquals(2, map.size());
    
        assertEquals(0, (int) map.getInstance(Integer.class));
        assertEquals(0, (int) map.getInstance(TypeToken.of(Integer.class)));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

        @Test
        public void test_searchResultWithDocuments() {
            final Map<String, Object> doc1 = new HashMap<>();
            doc1.put("_id", "doc1");
            doc1.put("title", "Document 1");
    
            final Map<String, Object> doc2 = new HashMap<>();
            doc2.put("_id", "doc2");
            doc2.put("title", "Document 2");
    
            final SearchResult result = SearchResult.create().addDocument(doc1).addDocument(doc2).allRecordCount(2).build();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  4. internal/hash/crc.go

    	odd := make([]uint64, 32)  // odd-power-of-two zeros operator
    
    	// put operator for one zero bit in odd
    	odd[0] = uint64(poly) // CRC-32 polynomial
    	row := uint64(1)
    	for n := 1; n < 32; n++ {
    		odd[n] = row
    		row <<= 1
    	}
    
    	// put operator for two zero bits in even
    	gf2MatrixSquare(even, odd)
    
    	// put operator for four zero bits in odd
    	gf2MatrixSquare(odd, even)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/response-directly.md

    Now, let's see how you could use that to return a custom response.
    
    Let's say that you want to return an [XML](https://en.wikipedia.org/wiki/XML) response.
    
    You could put your XML content in a string, put that in a `Response`, and return it:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java

                        }
                    } catch (TransferCancelledException e) {
                        ongoing.put(new TransferResourceIdentifier(transferEvent.getResource()), Boolean.FALSE);
                    }
                });
            }
        }
    
        private void put(TransferEvent event, boolean last) {
            try {
                Exchange exchange;
                if (blockOnLastEvent && last) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Feb 06 11:28:05 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/HashBasedTableTest.java

        Table<String, Integer, Character> table = HashBasedTable.create();
        table.put("foo", 4, 'a');
        table.put("cat", 1, 'b');
        table.clear();
        populate(table, data);
        return table;
      }
    
      public void testIterationOrder() {
        Table<String, String, String> table = HashBasedTable.create();
        for (int i = 0; i < 5; i++) {
          table.put("r" + i, "c" + i, "v" + i);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java

          assertFalse(multimap().put(k, v));
          assertEquals(expectedValues, values);
          assertGet(k, expectedValues);
        }
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testPutDuplicateValue_null() {
        initMultimapWithNullValue();
        assertFalse(multimap().put(getKeyForNullValue(), null));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        BloomFilter<String> bf1 = BloomFilter.create(unencodedCharsFunnel(), 100);
        bf1.put("1");
        bf1.put("2");
    
        BloomFilter<String> bf2 = BloomFilter.create(unencodedCharsFunnel(), 100);
        bf2.put("1");
        bf2.put("2");
    
        new EqualsTester().addEqualityGroup(bf1, bf2).testEquals();
    
        bf2.put("3");
    
        new EqualsTester().addEqualityGroup(bf1).addEqualityGroup(bf2).testEquals();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

         *
         * @param id the ID of the scheduled job to start
         * @return JSON response with {@code jobLogId} (nullable) and status
         */
        // PUT /api/admin/scheduler/{id}/start
        @Execute(urlPattern = "{}/@word")
        public JsonResponse<ApiResult> put$start(final String id) {
            final String[] jobLogId = { null };
            scheduledJobService.getScheduledJob(id).ifPresent(entity -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 10.7K bytes
    - Click Count (0)
Back to Top