- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 1,837 for New (0.03 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
@Deprecated @Named @Singleton public class StringSearchModelInterpolator extends AbstractStringBasedModelInterpolator { private static final Map<Class<?>, Field[]> FIELDS_BY_CLASS = new WeakHashMap<>(); private static final Map<Class<?>, Boolean> PRIMITIVE_BY_CLASS = new WeakHashMap<>(); public StringSearchModelInterpolator() {} public StringSearchModelInterpolator(PathTranslator pathTranslator) { super(pathTranslator); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 14.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ExtensionDescriptorBuilder.java
ExtensionDescriptor extensionDescriptor = new ExtensionDescriptor(); XmlNode dom; try { XMLStreamReader reader = XMLInputFactory.newFactory().createXMLStreamReader(is); dom = XmlService.read(reader); } catch (XMLStreamException e) { throw new IOException(e.getMessage(), e); } if (!"extension".equals(dom.name())) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 4.2K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java
*/ public void build(ClassDoc classDoc) { Set<String> signatures = new HashSet<String>(); for (Element tr : children(classDoc.getMethodsTable(), "tr")) { List<Element> cells = children(tr, "td"); if (cells.size() != 1) { throw new RuntimeException(String.format("Expected 1 cell in <tr>, found: %s", tr)); }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.2K bytes - Click Count (0) -
build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithInnerTypes.java
} Sub2Interface getSomeProp() { // ignore classes in method bodies class IgnoreMe {} // ignore anonymous classes return new Sub2Interface() { }; } // ignore anonymous classes final Runnable ignoreMe = new Runnable() { public void run() { } }; InnerClass.AnotherInner getInnerClassProp() { return null; }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 876 bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java
/** * Create a new filter with the specified scopes and their implied scopes enabled. * * @param scopes The scopes to enable, along with all implied scopes, may be {@code null}. */ public CumulativeScopeArtifactFilter(Collection<String> scopes) { this.scopes = new HashSet<>(); addScopes(scopes); } /** * Creates a new filter that combines the specified filters.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 3K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java
} @Test void helpMentionsInferInDefault() throws Exception { ByteArrayOutputStream out = new ByteArrayOutputStream(); ByteArrayOutputStream err = new ByteArrayOutputStream(); int exit = MavenUpCling.main( new String[] {"--help"}, new ClassWorld("plexus.core", Thread.currentThread().getContextClassLoader()), null, out,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:48:39 GMT 2025 - 9.9K bytes - Click Count (0) -
internal/crypto/key.go
} if len(extKey) != 32 { // safety check logger.CriticalIf(context.Background(), errors.New("crypto: invalid key length")) } var nonce [32]byte if _, err := io.ReadFull(random, nonce[:]); err != nil { logger.CriticalIf(context.Background(), errOutOfEntropy) } const Context = "object-encryption-key generation" mac := hmac.New(sha256.New, extKey) mac.Write([]byte(Context)) mac.Write(nonce[:]) mac.Sum(key[:0]) return key
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 6.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
return Collections.unmodifiableList(new MappedList<>( getMavenProject(project).getRemoteProjectRepositories(), session::getRemoteRepository)); } @Override @Nonnull public List<RemoteRepository> getRemotePluginRepositories(@Nonnull Project project) { return Collections.unmodifiableList(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 17 16:17:01 GMT 2025 - 10.9K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java
@Deprecated class FileSizeFormatTest { @Test void testNegativeSize() { FileSizeFormat format = new FileSizeFormat(); long negativeSize = -100L; assertThrows(IllegalArgumentException.class, () -> format.format(negativeSize)); } @Test void testSize() { FileSizeFormat format = new FileSizeFormat(); assertEquals("0 B", format.format(0L));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 10.5K bytes - Click Count (0) -
scan.go
values[idx] = reflect.New(reflect.PointerTo(field.FieldType)).Interface() continue } values[idx] = new(interface{}) } } else if len(columnTypes) > 0 { for idx, columnType := range columnTypes { if columnType.ScanType() != nil { values[idx] = reflect.New(reflect.PointerTo(columnType.ScanType())).Interface() } else { values[idx] = new(interface{}) } } } else {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 10.4K bytes - Click Count (0)