Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1141 - 1150 of 2,255 for A_value (0.03 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PomBuilder.java

            this.plugins.add(new Plugin(groupId, artifactId, version));
            return this;
        }
    
        public PomBuilder property(String name, String value) {
            this.properties.add(new Property(name, value));
            return this;
        }
    
        public String build() {
            StringBuilder xml = new StringBuilder();
            xml.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

                .build();
        cache.put(1, 2);
    
        // explicitly remove the existing value
        cache.asMap().computeIfPresent(1, (key, value) -> null);
        assertThat(notifications).hasSize(1);
        CacheTesting.checkEmpty(cache);
    
        // ensure no zombie entry remains
        cache.asMap().computeIfPresent(1, (key, value) -> null);
        assertThat(notifications).hasSize(1);
        CacheTesting.checkEmpty(cache);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        }
    
        @Override
        public boolean containsValue(Object value) {
          assertTrue(Thread.holdsLock(mutex));
          return super.containsValue(value);
        }
    
        @Override
        public @Nullable V get(Object key) {
          assertTrue(Thread.holdsLock(mutex));
          return super.get(key);
        }
    
        @Override
        public @Nullable V put(K key, V value) {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 19:11:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java

        public interface ContentTransformer {
            /**
             * Interpolate the value read from the xpp3 document
             * @param source The source value
             * @param fieldName A description of the field being interpolated. The implementation may use this to
             *                           log stuff.
             * @return The interpolated value.
             */
            String transform(String source, String fieldName);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java

        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testReplace_presentNullValueUnsupported() {
        assertThrows(NullPointerException.class, () -> getMap().replace(k0(), null));
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        builder.put("key", "value");
        assertThat(builder.build().entries()).containsExactly(Maps.immutableEntry("key", "value"));
      }
    
      public void testBuilderWithExpectedKeysPositive() {
        ImmutableListMultimap.Builder<String, String> builder =
            ImmutableListMultimap.builderWithExpectedKeys(1);
        builder.put("key", "value");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/ResourceManagerTest.java

            Map<String, Object> stats = resourceManager.getStatistics();
            assertNotNull(stats);
        }
    
        @Test
        @DisplayName("Test force cleanup")
        @Timeout(value = 5, unit = TimeUnit.SECONDS)
        void testForceCleanup() {
            TestResource resource1 = new TestResource("cleanup1");
            TestResource resource2 = new TestResource("cleanup2");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          var readBody = true
          for ((name, value) in streamHeaders) {
            if (name == Header.TARGET_METHOD_UTF8) {
              method = value
            } else if (name == Header.TARGET_PATH_UTF8) {
              path = value
            } else if (protocol === Protocol.HTTP_2 || protocol === Protocol.H2_PRIOR_KNOWLEDGE) {
              httpHeaders.add(name, value)
            } else {
              throw IllegalStateException()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  9. tests/test_response_model_as_return_annotation.py

        assert "missing" in str(excinfo.value)
    
    
    def test_response_model_no_annotation_return_invalid_model():
        with pytest.raises(ResponseValidationError) as excinfo:
            client.get("/response_model-no_annotation-return_invalid_model")
        assert "missing" in str(excinfo.value)
    
    
    def test_response_model_no_annotation_return_dict_with_extra_data():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  10. schema/relationship_test.go

    		},
    	})
    }
    
    func TestMany2ManyWithMultiPrimaryKeys(t *testing.T) {
    	type Tag struct {
    		ID     uint   `gorm:"primary_key"`
    		Locale string `gorm:"primary_key"`
    		Value  string
    	}
    
    	type Blog struct {
    		ID         uint   `gorm:"primary_key"`
    		Locale     string `gorm:"primary_key"`
    		Subject    string
    		Body       string
    		Tags       []Tag `gorm:"many2many:blog_tags;"`
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
Back to top