Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3771 - 3780 of 5,478 for newA (0.03 sec)

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

            DomUtils.insertContentElement(customParent, "newChild", "new value");
    
            String xmlOutput = DomUtils.toXml(doc);
    
            // Should be appended at the end since no ordering is defined for customParent
            assertTrue(xmlOutput.contains("<newChild>new value</newChild>"), "Should contain new child element");
    
            int existingChildIndex = xmlOutput.indexOf("<existingChild>");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/SingleValueIteratorTest.java

    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class SingleValueIteratorTest {
    
        /**
         *
         */
        @Test
        public void test() {
            final SingleValueIterator<String> it = new SingleValueIterator<String>("Foo");
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("Foo"));
            assertThat(it.hasNext(), is(not(true)));
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

        initMapWithNullValue();
    
        // putIfAbsent should replace the null value with the new value
        assertNull(
            "putIfAbsent(existingKeyWithNullValue, value) should return null",
            getMap().putIfAbsent(getKeyForNullValue(), v3()));
        assertEquals("Map should now contain the new value", v3(), getMap().get(getKeyForNullValue()));
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 02:04:51 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java

     *
     */
    @Deprecated
    class PropertyProfileActivatorTest extends AbstractProfileActivatorTest<PropertyProfileActivator> {
    
        @BeforeEach
        @Override
        void setUp() throws Exception {
            activator = new PropertyProfileActivator();
        }
    
        private Profile newProfile(String key, String value) {
            ActivationProperty ap =
                    ActivationProperty.newBuilder().name(key).value(value).build();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

            if (otherVersion instanceof DefaultArtifactVersion defaultArtifactVersion) {
                return this.comparable.compareTo(defaultArtifactVersion.comparable);
            } else {
                return compareTo(new DefaultArtifactVersion(otherVersion.toString()));
            }
        }
    
        @Override
        public int getMajorVersion() {
            return majorVersion != null ? majorVersion : 0;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

             * @return the interpolated value
             */
            String transform(String source, String fieldName);
        }
    
        @Nonnull
        static XmlReaderRequestBuilder builder() {
            return new XmlReaderRequestBuilder();
        }
    
        @NotThreadSafe
        class XmlReaderRequestBuilder {
            Path path;
            Path rootDirectory;
            URL url;
            InputStream inputStream;
            Reader reader;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:27 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

      @Override
      public Hasher newHasher() {
        return newHasher(32);
      }
    
      @Override
      public Hasher newHasher(int expectedInputSize) {
        Preconditions.checkArgument(expectedInputSize >= 0);
        return new ByteBufferHasher(expectedInputSize);
      }
    
      @Override
      public HashCode hashInt(int input) {
        return hashBytes(ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(input).array());
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 04 15:39:10 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. internal/dsync/dsync-client_test.go

    	return false
    }
    
    // Close closes the underlying socket file descriptor.
    func (restClient *ReconnectRESTClient) Close() error {
    	return nil
    }
    
    var (
    	errLockConflict = errors.New("lock conflict")
    	errLockNotFound = errors.New("lock not found")
    )
    
    func toLockError(err error) error {
    	if err == nil {
    		return nil
    	}
    
    	switch err.Error() {
    	case errLockConflict.Error():
    		return errLockConflict
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 20 17:36:09 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  9. cmd/streaming-signature-v4.go

    var errLineTooLong = errors.New("header line too long")
    
    // malformed encoding is generated when chunk header is wrongly formed.
    var errMalformedEncoding = errors.New("malformed chunked encoding")
    
    // chunk is considered too big if its bigger than > 16MiB.
    var errChunkTooBig = errors.New("chunk too big: choose chunk size <= 16MiB")
    
    // newSignV4ChunkedReader returns a new s3ChunkedReader that translates the data read from r
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

        public int load() {
            final Map<String, Map<String, String[]>> relatedQueryMap = new HashMap<>();
            getAvailableRelatedQueryList().stream().forEach(entity -> {
                final String key = getHostKey(entity);
                Map<String, String[]> map = relatedQueryMap.get(key);
                if (map == null) {
                    map = new HashMap<>();
                    relatedQueryMap.put(key, map);
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top