Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 70 for consumed (0.07 seconds)

  1. cmd/os_unix.go

    		return consumed, nil, typ, fmt.Errorf("buf size %d < record length %d", len(buf), dirent.Reclen)
    	}
    	consumed = int(dirent.Reclen)
    	if direntInode(dirent) == 0 { // File absent in directory.
    		return consumed, name, typ, err
    	}
    	switch dirent.Type {
    	case syscall.DT_REG:
    		typ = 0
    	case syscall.DT_DIR:
    		typ = os.ModeDir
    	case syscall.DT_LNK:
    		typ = os.ModeSymlink
    	default:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

        static void warnNotDowngraded(MavenProject project) {
            LOGGER.warn("The consumer POM for " + project.getId() + " cannot be downgraded to 4.0.0. "
                    + "If you intent your build to be consumed with Maven 3 projects, you need to remove "
                    + "the features that request a newer model version.  If you're fine with having the "
                    + "consumer POM not consumable with Maven 3, add the `preserve.model.version='true'` "
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 27 07:40:26 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  3. src/cmd/asm/internal/asm/parse.go

    		return true
    	}
    	// Parenthesized register: R(10).
    	return p.arch.RegisterPrefix[name] && p.peek() == '('
    }
    
    // atRegisterShift reports whether we are at the start of an ARM shifted register.
    // We have consumed the register or R prefix.
    func (p *Parser) atRegisterShift() bool {
    	// ARM only.
    	if !p.arch.InFamily(sys.ARM, sys.ARM64) {
    		return false
    	}
    	// R1<<...
    	if lex.IsRegisterShift(p.peek()) {
    		return true
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

       *   -X PUT \
       *   -H 'Authorization: Bearer token' \
       *   --data '{\"key\":\"value\"}'
       * ```
       *
       * **Note:** This will consume the request body. This may have side effects if the [RequestBody]
       * is streaming or can be consumed only once.
       */
      @JvmOverloads
      fun toCurl(includeBody: Boolean = true): String =
        buildString {
          append("curl ${url.toString().shellEscape()}")
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  5. src/archive/tar/reader_test.go

    		}
    		if hdr.Name != v.wantName {
    			t.Errorf("test %d, Header.Name = %s, want %s", i, hdr.Name, v.wantName)
    		}
    		if v.wantErr == nil && r.Len() == 0 {
    			t.Errorf("test %d, canary byte unexpectedly consumed", i)
    		}
    	}
    }
    
    // testNonEmptyReader wraps an io.Reader and ensures that
    // Read is never called with an empty buffer.
    type testNonEmptyReader struct{ io.Reader }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  6. cmd/bucket-replication.go

    	return saveConfig(ctx, objectAPI, configFile, buf)
    }
    
    // getReplicationDiff returns un-replicated objects in a channel.
    // If a non-nil channel is returned it must be consumed fully or
    // the provided context must be canceled.
    func getReplicationDiff(ctx context.Context, objAPI ObjectLayer, bucket string, opts madmin.ReplDiffOpts) (chan madmin.DiffInfo, error) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

                }
                for (Artifact consumer : consumers) {
                    result.remove(consumer);
                    // Replace the consumer POM as the main POM (no classifier)
                    result.add(new DefaultArtifact(
                            consumer.getGroupId(),
                            consumer.getArtifactId(),
                            "",
                            consumer.getExtension(),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java

            InternalMavenSession.from(InternalSession.from(session))
                    .getMavenSession()
                    .getRequest()
                    .setRootDirectory(Paths.get("src/test/resources/consumer/trivial"));
    
            Path file = Paths.get("src/test/resources/consumer/trivial/child/pom.xml");
    
            ModelBuilder.ModelBuilderSession mbs = modelBuilder.newSession();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            DeployRequest result = transformer.remapDeployArtifacts(session, request);
    
            // Should have both consumer POM (no classifier) and build POM (with "build" classifier)
            Collection<Artifact> artifacts = result.getArtifacts();
            assertEquals(3, artifacts.size()); // original jar + consumer pom + build pom
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverException.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public class VersionRangeResolverException extends MavenException {
    
        public VersionRangeResolverException(String message, Throwable cause) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 1.2K bytes
    - Click Count (0)
Back to Top