Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1081 - 1090 of 1,490 for _new (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/sts/web-identity.go

    				oauth2Token, err := config.Exchange(ctx, r.URL.Query().Get("code"))
    				if err != nil {
    					return nil, err
    				}
    				if !oauth2Token.Valid() {
    					return nil, errors.New("invalid token")
    				}
    
    				return &credentials.WebIdentityToken{
    					Token:  oauth2Token.Extra("id_token").(string),
    					Expiry: int(oauth2Token.Expiry.Sub(time.Now().UTC()).Seconds()),
    				}, nil
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/UserLocalArtifactRepository.java

            this.localRepository = localRepository;
            setLayout(localRepository.getLayout());
        }
    
        @Override
        public Artifact find(Artifact artifact) {
            File artifactFile = new File(localRepository.getBasedir(), pathOf(artifact));
    
            // We need to set the file here or the resolver will fail with an NPE, not fully equipped to deal
            // with multiple local repository implementations yet.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  3. internal/disk/stat_freebsd.go

    	info.Used = info.Total - info.Free
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    func GetDriveStats(major, minor uint32) (iostats IOStats, err error) {
    	return IOStats{}, errors.New("operation unsupported")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/CoreExtension.java

         * Gets the identifier of the extension.
         *
         * @return The extension id in the form {@code <groupId>:<artifactId>:<version>}, never {@code null}.
         */
        public String getId() {
            StringBuilder id = new StringBuilder(128);
    
            id.append((getGroupId() == null) ? "[unknown-group-id]" : getGroupId());
            id.append(":");
            id.append((getArtifactId() == null) ? "[unknown-artifact-id]" : getArtifactId());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

    class CheckTest {
    
        private Check checkGoal;
        private StrategyOrchestrator mockOrchestrator;
    
        @BeforeEach
        void setUp() {
            mockOrchestrator = mock(StrategyOrchestrator.class);
            checkGoal = new Check(mockOrchestrator);
        }
    
        private UpgradeContext createMockContext() {
            return TestUtils.createMockContext();
        }
    
        @Nested
        @DisplayName("Modification Behavior")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

    @Typed({ArtifactManager.class, Service.class})
    @SessionScoped
    public class DefaultArtifactManager implements ArtifactManager {
    
        @Nonnull
        private final InternalMavenSession session;
    
        private final Map<String, Path> paths = new ConcurrentHashMap<>();
    
        @Inject
        public DefaultArtifactManager(@Nonnull InternalMavenSession session) {
            this.session = session;
        }
    
        @Nonnull
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. internal/s3select/json/reader.go

    	err := r.readCloser.Close()
    	for range r.valueCh {
    		// Drain values so we don't leak a goroutine.
    		// Since we have closed the input, it should fail rather quickly.
    	}
    	return err
    }
    
    // NewReader - creates new JSON reader using readCloser.
    func NewReader(readCloser io.ReadCloser, args *ReaderArgs) *Reader {
    	readCloser = &syncReadCloser{rc: readCloser}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

            // the same instance can be provided multiple times under different Key's
            // deduplicate instances to avoid redundant beforeXXX/afterXXX callbacks
            IdentityHashMap<WeakMojoExecutionListener, Object> listeners = new IdentityHashMap<>();
            for (Object provided : getScopeState().provided()) {
                if (provided instanceof WeakMojoExecutionListener weakMojoExecutionListener) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java

                    resource.setDirectory(alignToBaseDirectory(resource.getDirectory(), basedir));
                }
    
                if (build.getFilters() != null) {
                    List<String> filters = new ArrayList<>(build.getFilters().size());
                    for (String filter : build.getFilters()) {
                        filters.add(alignToBaseDirectory(filter, basedir));
                    }
                    build.setFilters(filters);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

     *
     * @since 4.0.0
     */
    @Experimental
    public class ModelBuilderException extends MavenException {
    
        private final ModelBuilderResult result;
    
        /**
         * Creates a new exception from the specified interim result and its associated problems.
         *
         * @param result The interim result, may be {@code null}.
         */
        public ModelBuilderException(ModelBuilderResult result) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top