Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 721 - 730 of 1,500 for PUT (0.01 seconds)

  1. guava-tests/test/com/google/common/graph/MapCacheTest.java

        mapCache.put("A", "A_value");
        mapCache.put("B", "B_value");
        mapCache.put("C", "C_value");
    
        assertThat(mapCache.unmodifiableKeySet()).hasSize(3);
        for (String key : mapCache.unmodifiableKeySet()) {
          assertThat(mapCache.get(key)).isEqualTo(key + "_value");
        }
      }
    
      @Test
      public void testPutNewValue() {
        assertThat(mapCache.put("key", "value")).isNull();
    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)
  2. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

        @BeforeEach
        void onSetup() {
            // MockitoAnnotations.openMocks(this);
    
            Map<String, String> envVarMap = new HashMap<>();
            envVarMap.put("testKey", "testValue");
            envVarMap.put("testSpecialCharactersKey", "<test&Value>");
            OperatingSystemUtils.setEnvVarSource(new TestEnvVarSource(envVarMap));
        }
    
        @Test
        void testBuildEmptyRequest() throws Exception {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 14K bytes
    - Click Count (0)
  3. cmd/admin-bucket-handlers.go

    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const (
    	bucketQuotaConfigFile = "quota.json"
    	bucketTargetsFile     = "bucket-targets.json"
    )
    
    // PutBucketQuotaConfigHandler - PUT Bucket quota configuration.
    // ----------
    // Places a quota configuration on the specified bucket. The quota
    // specified in the quota configuration will be applied by default
    // to enforce total quota for the specified bucket.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 33.3K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                        merged.put(key, element);
                    }
    
                    for (ReportPlugin element : src) {
                        Object key = getReportPluginKey(element);
                        ReportPlugin existing = merged.get(key);
                        if (existing == null) {
                            merged.put(key, element.clone());
                        } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

        public void test_hasConditionQuery_withMultipleConditions() {
            // Test with multiple conditions
            testParams.conditions.put(SearchRequestParams.AS_Q, new String[] { "search term" });
            testParams.conditions.put(SearchRequestParams.AS_FILETYPE, new String[] { "doc" });
            testParams.conditions.put(SearchRequestParams.AS_NQ, new String[] { "exclude" });
            assertTrue(searchRequestParams.hasConditionQuery());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 26.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java

            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("permissions", "Radmin-api");
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("permissions", "Radmin-api2");
            return updateMap;
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jun 12 02:18:38 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/admin/dict/KuromojiTests.java

            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("segmentation", "segment");
            requestBody.put("reading", "reading");
            requestBody.put("pos", "pos");
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("segmentation", "new_segment");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          ImmutableMap.Builder<String, String> builder = ImmutableMap.builder();
          for (Entry<String, String> entry : entries) {
            checkNotNull(entry);
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.buildOrThrow();
        }
      }
    
      public static class ImmutableMapCopyOfGenerator extends TestStringMapGenerator {
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_body_multiple_params/test_tutorial003.py

        mod = importlib.import_module(f"docs_src.body_multiple_params.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_post_body_valid(client: TestClient):
        response = client.put(
            "/items/5",
            json={
                "importance": 2,
                "item": {"name": "Foo", "price": 50.5},
                "user": {"username": "Dave"},
            },
        )
        assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

        private static final Map<String, String> ENTITIES = new HashMap<String, String>();
    
        static {
            ENTITIES.put("amp", "&");
            ENTITIES.put("lt", "<");
            ENTITIES.put("gt", ">");
            ENTITIES.put("quot", "\"");
            ENTITIES.put("apos", "'");
        }
    
        private final JavadocScanner scanner;
    
        BasicJavadocLexer(JavadocScanner scanner) {
            this.scanner = scanner;
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Aug 19 15:07:24 GMT 2024
    - 7.1K bytes
    - Click Count (0)
Back to Top