Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 1,837 for New (0.13 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/BuildListCalculatorTest.java

        @Test
        void testCalculateProjectBuilds() throws Exception {
            LifecycleTaskSegmentCalculator lifecycleTaskSegmentCalculator = getTaskSegmentCalculator();
            BuildListCalculator buildListCalculator = new BuildListCalculator();
            final MavenSession session = ProjectDependencyGraphStub.getMavenSession();
            List<TaskSegment> taskSegments = lifecycleTaskSegmentCalculator.calculateTaskSegments(session);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  2. internal/hash/reader.go

    	if len(SHA256) != 0 {
    		h = sha256.New()
    	}
    	return &Reader{
    		src:           src,
    		size:          size,
    		actualSize:    actualSize,
    		checksum:      MD5,
    		contentSHA256: SHA256,
    		sha256:        h,
    		disableMD5:    disableMD5,
    	}, nil
    }
    
    // ErrInvalidChecksum is returned when an invalid checksum is provided in headers.
    var ErrInvalidChecksum = errors.New("invalid checksum")
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java

            if (len < 2 || len % 2 != 0) {
                throw new IllegalArgumentException("Plugin bindings must have more than 0, even count of elements");
            }
    
            HashMap<String, LifecyclePhase> lifecyclePhaseBindings = new HashMap<>(len / 2);
            for (int i = 0; i < len; i = i + 2) {
                lifecyclePhaseBindings.put(pluginBindings[i], new LifecyclePhase(pluginBindings[i + 1]));
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Dec 22 12:24:35 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  4. internal/jwt/parser.go

    	base64BufPool = bpool.Pool[*[]byte]{
    		New: func() *[]byte {
    			buf := make([]byte, base64BufferSize)
    			return &buf
    		},
    	}
    
    	hmacSigners = []*SigningMethodHMAC{
    		{Name: "HS256", Hash: crypto.SHA256},
    		{Name: "HS384", Hash: crypto.SHA384},
    		{Name: "HS512", Hash: crypto.SHA512},
    	}
    	for i := range hmacSigners {
    		h := hmacSigners[i].Hash
    		hmacSigners[i].HasherPool.New = func() hash.Hash {
    			return h.New()
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/SimpleArtifactMetadataSource.java

            throw new UnsupportedOperationException("Cannot retrieve metadata in this test case");
        }
    
        @Override
        public List<ArtifactVersion> retrieveAvailableVersions(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) {
            return Collections.singletonList(new DefaultArtifactVersion("10.1.3"));
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java

            File basedir = new File("target/spacy path").getAbsoluteFile();
            ArtifactRepository repo = repositorySystem.createLocalRepository(basedir);
            assertEquals(basedir, new File(repo.getBasedir()));
        }
    
        @Test
        void testAuthenticationHandling() {
            Server server = new Server();
            server.setId("repository");
            server.setUsername("jason");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  7. src/bytes/bytes_test.go

    			old = []byte(tt.old)
    			new = []byte(tt.new)
    		)
    		if !asan.Enabled {
    			allocs := testing.AllocsPerRun(10, func() { Replace(in, old, new, tt.n) })
    			if allocs > 1 {
    				t.Errorf("Replace(%q, %q, %q, %d) allocates %.2f objects", tt.in, tt.old, tt.new, tt.n, allocs)
    			}
    		}
    		in = append(in, "<spare>"...)
    		in = in[:len(tt.in)]
    		out := Replace(in, old, new, tt.n)
    		if s := string(out); s != tt.out {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 23 23:54:14 GMT 2025
    - 62.9K bytes
    - Click Count (0)
  8. .github/workflows/golangci-lint.yml

          - uses: actions/setup-go@v5
            with:
              go-version: stable
          - name: golangci-lint
            uses: golangci/golangci-lint-action@v7
            with:
              version: v2.0
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Apr 17 07:30:17 GMT 2025
    - 471 bytes
    - Click Count (0)
  9. .github/ISSUE_TEMPLATE/12-telemetry.yml

    projects: ["golang/29"]
    body:
    - type: textarea
      attributes:
        label: Summary
        description: >
          What change are you proposing to the upload configuration, and why?
          For new upload configuration, which new counters will be collected, what
          do they measure, and why is it important to collect them?
          Note that uploaded data must not carry sensitive user information.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue May 07 19:58:26 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  10. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.java

        }
    
        @Override
        public int getPriority() {
            return 1;
        }
    
        @Override
        public void setName(String name) {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public void setPriority(int priority) {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public String getDescription() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.4K bytes
    - Click Count (0)
Back to Top