Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 330 for newtype (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java

            this.session = session;
            this.delegate = delegate;
            this.eventType = eventType;
        }
    
        @Override
        public EventType getType() {
            return eventType;
        }
    
        @Override
        public Session getSession() {
            return session;
        }
    
        @Override
        public Optional<Project> getProject() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 29 20:53:26 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java

                    dependency.getGroupId(),
                    dependency.getArtifactId(),
                    dependency.getVersion(),
                    dependency.getClassifier(),
                    null,
                    dependency.getType()));
        }
    
        @Nonnull
        default DependencyCoordinates create(@Nonnull Session session, Plugin plugin) {
            // TODO: hard coded string
            return create(DependencyCoordinatesFactoryRequest.build(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ValidateChangelogEntryTask.java

            // We don't try to find all such errors, because we expect them to be rare e.g. only
            // when a new file is added.
            changelogs.forEach((path, entry) -> {
                final String type = entry.getType();
    
                if (type.equals("known-issue") == false && type.equals("security") == false) {
                    if (entry.getPr() == null) {
                        throw new GradleException(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 3.3K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodDetailRenderer.java

                ParameterMetaData param = parameters.get(i);
                if (i > 0) {
                    title.appendChild(document.createTextNode(", "));
                }
                title.appendChild(linkRenderer.link(param.getType(), listener));
                title.appendChild(document.createTextNode(" " + param.getName()));
            }
            title.appendChild(document.createTextNode(")"));
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.7K bytes
    - Click Count (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/InvalidArtifactRTException.java

            return baseMessage;
        }
    
        public String getArtifactId() {
            return artifactId;
        }
    
        public String getGroupId() {
            return groupId;
        }
    
        public String getType() {
            return type;
        }
    
        public String getVersion() {
            return version;
        }
    
        public String getArtifactKey() {
            return groupId + ":" + artifactId + ":" + version + ":" + type;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

     * @since 4.0.0
     */
    @Experimental
    public interface Event {
    
        /**
         * Gets the type of the event.
         *
         * @return the type of the event, never {@code null}
         */
        @Nonnull
        EventType getType();
    
        /**
         * Gets the session from which this event originates.
         *
         * @return the current session, never {@code null}
         */
        @Nonnull
        Session getSession();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java

            this.artifactHandlers = requireNonNull(artifactHandlers);
        }
    
        @Override
        public void onEvent(Object event) {
            if (event instanceof ExecutionEvent executionEvent) {
                if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) {
                    allHandlers.clear();
                }
            }
        }
    
        public ArtifactHandler getArtifactHandler(String type) {
            requireNonNull(type, "null type");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertEquals(bimap3, emptyBimap);
      }
    
      @GwtIncompatible // keyType
      public void testKeyType() {
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class);
        assertEquals(Currency.class, bimap.keyType());
      }
    
      @GwtIncompatible // valueType
      public void testValueType() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  9. internal/kms/secret-key.go

    	if req.Name != s.keyID {
    		return nil, ErrKeyNotFound
    	}
    
    	const randSize = 28
    	ciphertext, keyType := parseCiphertext(req.Ciphertext)
    	ciphertext, random := ciphertext[:len(ciphertext)-randSize], ciphertext[len(ciphertext)-randSize:]
    	iv, nonce := random[:16], random[16:]
    
    	var aead cipher.AEAD
    	switch keyType {
    	case kms.AES256:
    		mac := hmac.New(sha256.New, s.key)
    		mac.Write(iv)
    		sealingKey := mac.Sum(nil)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Apr 21 16:23:51 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  10. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

      public void run() throws Exception {
        // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
        RequestBody requestBody = new MultipartBody.Builder()
            .setType(MultipartBody.FORM)
            .addFormDataPart("title", "Square Logo")
            .addFormDataPart("image", "logo-square.png",
                RequestBody.create(
                    new File("docs/images/logo-square.png"),
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jun 24 12:59:42 GMT 2019
    - 2.2K bytes
    - Click Count (0)
Back to Top