Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 4401 - 4410 of 6,205 for new1 (0.22 seconds)

  1. 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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. 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;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Aug 29 12:46:27 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  3. 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();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 20 17:36:09 GMT 2022
    - 4.4K bytes
    - Click Count (0)
  5. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/util/Util.java

            }
            if ("true".equals(propertyValue)) {
                return true;
            } else if ("false".equals(propertyValue)) {
                return false;
            } else {
                throw new GradleException("Sysprop [" + property + "] must be [true] or [false] but was [" + propertyValue + "]");
            }
        }
    
        /**
         * @param project The project to look for resources.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 27 15:18:50 GMT 2021
    - 5.1K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/Hc5IdnDnsResolver.java

     *
     * <p>This class allows setting a custom flag for the IDN conversion and a custom
     * encoding for URL decoding.</p>
     *
     * <p>Example usage:</p>
     * <pre>
     * {@code
     * Hc5IdnDnsResolver resolver = new Hc5IdnDnsResolver();
     * resolver.setFlag(IDN.ALLOW_UNASSIGNED);
     * resolver.setEncoding("UTF-8");
     * InetAddress[] addresses = resolver.resolve("example.com");
     * }
     * </pre>
     *
     */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/base/Optional.java

     *
     * <p>An instance of this class is serializable if its reference is absent or is a serializable
     * object.
     *
     * <p><b>Comparison to {@code java.util.Optional} (JDK 8 and higher):</b> A new {@code Optional}
     * class was added for Java 8. The two classes are extremely similar, but incompatible (they cannot
     * share a common supertype). <i>All</i> known differences are listed either here or with the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  8. cmd/metrics-v3-types.go

    	)
    }
    
    // NewCounterMD - creates a new counter metric descriptor.
    func NewCounterMD(name MetricName, help string, labels ...string) MetricDescriptor {
    	return MetricDescriptor{
    		Name:           name,
    		Type:           CounterMT,
    		Help:           help,
    		VariableLabels: labels,
    	}
    }
    
    // NewGaugeMD - creates a new gauge metric descriptor.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/hash/PackageSanityTests.java

     *
     * @author Ben Yu
     */
    
    @NullUnmarked
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
        setDefault(LockFreeBitArray.class, new LockFreeBitArray(1));
        setDefault(HashCode.class, HashCode.fromInt(1));
        setDefault(String.class, "MD5");
        setDefault(int.class, 32);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  10. callbacks/preload.go

    			tx.AddError(rel.Field.Set(tx.Statement.Context, reflectValue, reflect.MakeSlice(rel.Field.IndirectFieldType, 0, 10).Interface()))
    		default:
    			tx.AddError(rel.Field.Set(tx.Statement.Context, reflectValue, reflect.New(rel.Field.FieldType).Interface()))
    		}
    	case reflect.Slice, reflect.Array:
    		for i := 0; i < reflectValue.Len(); i++ {
    			switch rel.Type {
    			case schema.HasMany, schema.Many2Many:
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 11.7K bytes
    - Click Count (0)
Back to Top