Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 933 for Extract (0.11 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/PrimitiveStrategy.java

     */
    
    package org.gradle.model.internal.manage.schema.extract;
    
    import org.gradle.model.internal.manage.schema.ScalarValueSchema;
    import org.gradle.model.internal.type.ModelType;
    
    import static org.gradle.model.internal.manage.schema.extract.PrimitiveTypes.isPrimitiveType;
    
    public class PrimitiveStrategy implements ModelSchemaExtractionStrategy {
    
        @Override
        public <T> void extract(ModelSchemaExtractionContext<T> extractionContext) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/hkdf/hkdf.go

    	"errors"
    	"hash"
    	"io"
    )
    
    // Extract generates a pseudorandom key for use with Expand from an input secret
    // and an optional independent salt.
    //
    // Only use this function if you need to reuse the extracted key with multiple
    // Expand invocations and different context values. Most common scenarios,
    // including the generation of multiple keys, should use New instead.
    func Extract(hash func() hash.Hash, secret, salt []byte) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. pkg/kube/controllers/common.go

    	if e.AddExtendedFunc != nil {
    		e.AddExtendedFunc(Extract[T](obj), initialSync)
    	} else if e.AddFunc != nil {
    		e.AddFunc(Extract[T](obj))
    	}
    }
    
    func (e EventHandler[T]) OnUpdate(oldObj, newObj interface{}) {
    	if e.UpdateFunc != nil {
    		e.UpdateFunc(Extract[T](oldObj), Extract[T](newObj))
    	}
    }
    
    func (e EventHandler[T]) OnDelete(obj interface{}) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 08:27:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/JavaClassUtilTest.groovy

        def "can extract java class file major version"() {
            expect:
            JavaClassUtil.getClassMajorVersion(JavaClassUtil.class) == 50
        }
    
        def "can extract java class name major version"() {
            expect:
            JavaClassUtil.getClassMajorVersion(JavaClassUtil.class.getName(), JavaClassUtil.getClassLoader()) == 50
        }
    
        def "can extract java class input stream major version"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSchemaAspectExtractor.java

        }
    
        public <T> List<ModelSchemaAspect> extract(ModelSchemaExtractionContext<T> extractionContext, List<ModelPropertyExtractionResult<?>> propertyResults) {
            List<ModelSchemaAspect> aspects = new ArrayList<>();
            for (ModelSchemaAspectExtractionStrategy strategy : strategies) {
                ModelSchemaAspectExtractionResult result = strategy.extract(extractionContext, propertyResults);
                if (result != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. docs/extensions/s3zip/examples/minio-go/main.go

    		Creds: credentials.NewStaticV4("access-key", "secret-key", ""),
    	})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	var opts minio.GetObjectOptions
    
    	// Add extract header to request:
    	opts.Set("x-minio-extract", "true")
    
    	// Download API.md from the archive
    	rd, err := s3Client.GetObject(context.Background(), "your-bucket", "path/to/file.zip/data.csv", opts)
    	if err != nil {
    		log.Fatalln(err)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 14 18:04:14 UTC 2021
    - 694 bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelMapStrategy.java

        private static final ModelType<ModelMap<?>> MODEL_MAP_MODEL_TYPE = new ModelType<ModelMap<?>>() {
        };
    
        // TODO extract common stuff from this and ModelSet and reuse
    
        @Override
        public <T> void extract(ModelSchemaExtractionContext<T> extractionContext) {
            ModelType<T> type = extractionContext.getType();
            if (MODEL_MAP_MODEL_TYPE.isAssignableFrom(type)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSchemaExtractionStrategy.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.model.internal.manage.schema.extract;
    
    public interface ModelSchemaExtractionStrategy {
        /**
         * Potentially extracts the schema for a type. If this strategy does not recognize the type, this method should return without doing anything.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r85/TestFailureProgressEventCrossVersionTest.groovy

            then:
            thrown(BuildException)
    
            // Extract and assert the wrapper failure
            collector.failures.size() == 1
            collector.failures[0] instanceof TestAssertionFailure
            def failure = collector.failures[0] as TestAssertionFailure
            failure.message == "This exception wraps an assertion error"
    
            // Extract and assert the wrapped failure
            failure.causes.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 10 17:52:51 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  10. bin/init.sh

        # Enter the output directory.
        mkdir -p "$(dirname "$2")"
        pushd "$(dirname "$2")"
    
        # Download and extract the binary to the output directory.
        echo "Downloading ${SIDECAR}: $1 to $2"
        time ${DOWNLOAD_COMMAND} --header "${AUTH_HEADER:-}" "$1" |\
          tar --extract --gzip --strip-components=3 --to-stdout > "$2"
        chmod +x "$2"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 25 19:11:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top