Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 791 for puts (0.66 seconds)

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

          ImmutableSortedMap.Builder<String, String> builder = ImmutableSortedMap.naturalOrder();
          for (Entry<String, String> entry : entries) {
            checkNotNull(entry);
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
      public static class ImmutableSortedMapCopyOfEntriesGenerator
          extends TestStringSortedMapGenerator {
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. cmd/admin-handlers-site-replication.go

    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // SiteReplicationAdd - PUT /minio/admin/v3/site-replication/add
    func (a adminAPIHandlers) SiteReplicationAdd(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, cred := validateAdminReq(ctx, w, r, policy.SiteReplicationAddAction)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                    return map.entrySet();
                  }
    
                  @Override
                  public @Nullable String put(String key, String value) {
                    checkNotNull(key);
                    return map.put(key, value);
                  }
                };
              }
            },
            "HashMap w/out null keys",
            ALLOWS_NULL_VALUES);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/cache/AbstractCache.java

     *
     * <p>To implement a cache, the programmer needs only to extend this class and provide an
     * implementation for the {@link #put} and {@link #getIfPresent} methods. {@link #getAllPresent} is
     * implemented in terms of {@link #getIfPresent}; {@link #putAll} is implemented in terms of {@link
     * #put}, {@link #invalidateAll(Iterable)} is implemented in terms of {@link #invalidate}. The
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          int initialSize = map.size();
          V oldValue = map.put(keyToPut, valueToPut);
          assertEquals(valueToPut, map.get(keyToPut));
          assertTrue(map.containsKey(keyToPut));
          assertTrue(map.containsValue(valueToPut));
          assertEquals(initialSize + 1, map.size());
          assertNull(oldValue);
        } else {
          assertThrows(UnsupportedOperationException.class, () -> map.put(keyToPut, valueToPut));
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

                    doc.put(ID_FIELD, Integer.toString(mainSize - i - 1));
                    doc.put("score", 1.0f / (i + 2));
                    builder.addDocument(doc);
                }
                for (int i = 100; i < inSize + 100; i++) {
                    Map<String, Object> doc = new HashMap<>();
                    doc.put(ID_FIELD, Integer.toString(i));
                    doc.put("score", 1.0f / (mainSize + i + 2));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

        @Test
        public void test_updateDocument_existingDocId() {
            final Map<String, Object> doc = new HashMap<>();
            doc.put("doc_id", "existing_id");
            doc.put("url", "http://example.com");
    
            indexUpdater.updateDocument(doc);
    
            assertEquals("existing_id", doc.get("doc_id"));
        }
    
        // Test addBoostValue
        @Test
        public void test_addBoostValue() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingConfig.java

                paramMap.put(Param.Client.PROXY_HOST, proxyHost);
                paramMap.put(Param.Client.PROXY_PORT, proxyPort);
                final String proxyUsername = fessConfig.getHttpProxyUsername();
                final String proxyPassword = fessConfig.getHttpProxyPassword();
                if (proxyUsername != null && proxyPassword != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java

                }
                if (name.startsWith(OVERRIDE_PREFIX)) {
                    String overrideName = name.substring(OVERRIDE_PREFIX.length());
                    props.put(overrideName, substVars(value, name, props, callback));
                } else {
                    props.put(name, substVars(value, name, props, callback));
                }
            }
            props.keySet().removeIf(k -> k.startsWith(OVERRIDE_PREFIX));
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

        //                                                                      ==============
    
        // GET /api/admin/fileauth/settings
        // PUT /api/admin/fileauth/settings
        /**
         * Returns list of file authentication settings.
         * Supports both GET and PUT requests for retrieving paginated file authentication configurations.
         *
         * @param body search parameters for filtering and pagination
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top