Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of about 10,000 for copy2 (0.07 sec)

  1. platforms/documentation/docs/src/samples/templates/build-src-plugin-java-module-transform/application/src/main/java/org/gradle/sample/app/Main.java

            Message message = new Gson().fromJson(json == null ? "{}" : json, Message.class);
    
            Object copy = BeanUtils.cloneBean(message);
            System.out.println();
            System.out.println("Original: " + copy.toString());
            System.out.println("Copy:     " + copy.toString());
    
        }
    
        private static void printModuleDebug(Class<?> clazz) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/ModuleVersionResolveException.java

        }
    
        /**
         * Creates a copy of this exception, with the given incoming paths.
         */
        public ModuleVersionResolveException withIncomingPaths(Collection<? extends List<? extends ComponentIdentifier>> paths) {
            ModuleVersionResolveException copy = createCopy();
            copy.paths.addAll(paths);
            copy.initCauses(getCauses());
            copy.setStackTrace(getStackTrace());
            return copy;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 19:29:09 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. test/fixedbugs/issue36259.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func rotate(s []int, m int) {
        l := len(s)
        m = m % l
        buf := make([]int, m)
    
        copy(buf, s)
        copy(s, s[m:])
        copy(s[l-m:], buf)
    }
    
    func main() {
        a0 := [...]int{1,2,3,4,5}
        println(a0[0])
    
        rotate(a0[:], 1)
        println(a0[0])
    
        rotate(a0[:], -3)
        println(a0[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 24 20:23:14 UTC 2020
    - 483 bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/file/FileCopyDetails.java

         *
         * @return The path, relative to the root of the copy destination. Never returns null.
         */
        @Override
        String getPath();
    
        /**
         * Returns the path of this file, relative to the root of the copy destination.
         *
         * @return The path, relative to the root of the copy destination. Never returns null.
         */
        @Override
        RelativePath getRelativePath();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 12:31:43 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/performance/resolveAtConfigurationTime/groovy/build.gradle

    }
    
    dependencies {
        implementation 'org.apache.commons:commons-lang3:3.11'
    }
    
    // tag::copy[]
    tasks.register('copyFiles', Copy) {
        println ">> Compilation deps: ${configurations.compileClasspath.files.name}"
        into(layout.buildDirectory.dir('output'))
        from(configurations.compileClasspath)
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 379 bytes
    - Viewed (0)
  6. src/crypto/ecdsa/ecdsa_s390x.go

    	// different curves and is set by canUseKDSA function.
    	var params [4096]byte
    
    	// Copy content into the parameter block. In the verify case,
    	// we copy signature (r), signature(s), hashed message, public key x component,
    	// and public key y component into the parameter block.
    	copy(params[0*blockSize+blockSize-len(r):], r)
    	copy(params[1*blockSize+blockSize-len(s):], s)
    	hashToBytes(params[2*blockSize:3*blockSize], hash, c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/performance/resolveAtBuildTime/groovy/build.gradle

    plugins {
        id('java')
    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        implementation 'org.apache.commons:commons-lang3:3.11'
    }
    
    // tag::copy[]
    tasks.register('copyFiles', Copy) {
        into(layout.buildDirectory.dir('output'))
        // Store the configuration into a variable because referencing the project from the task action
        // is not compatible with the configuration cache.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 598 bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/subst.go

    }
    
    func substFunc(f *Func, typ Type) *Func {
    	copy := *f
    	copy.typ = typ
    	copy.origin = f.Origin()
    	return &copy
    }
    
    func (subst *subster) funcList(in []*Func) (out []*Func, copied bool) {
    	out = in
    	for i, f := range in {
    		if g := subst.func_(f); g != f {
    			if !copied {
    				// first function that got substituted => allocate new out slice
    				// and copy all functions
    				new := make([]*Func, len(in))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/properties/internal/SystemProperties.java

    /**
     * @since 3.2.3
     */
    public class SystemProperties {
        /**
         * Thread-safe System.properties copy implementation.
         */
        public static void addSystemProperties(Properties props) {
            props.putAll(getSystemProperties());
        }
    
        /**
         * Returns a copy of {@link System#getProperties()} in a thread-safe manner.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 2K bytes
    - Viewed (0)
  10. src/go/types/subst.go

    }
    
    func substFunc(f *Func, typ Type) *Func {
    	copy := *f
    	copy.typ = typ
    	copy.origin = f.Origin()
    	return &copy
    }
    
    func (subst *subster) funcList(in []*Func) (out []*Func, copied bool) {
    	out = in
    	for i, f := range in {
    		if g := subst.func_(f); g != f {
    			if !copied {
    				// first function that got substituted => allocate new out slice
    				// and copy all functions
    				new := make([]*Func, len(in))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top