Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for copy2 (0.13 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/streams/DefaultValueStoreTest.groovy

            def block2 = write("test 2")
    
            def copy1 = storeAndLoad(block1)
            def copy2 = storeAndLoad(block2)
    
            read(copy2) == "test 2"
            read(copy1) == "test 1"
        }
    
        def "can persist block address and read block later"() {
            expect:
            def block1 = write("test 1")
            def block2 = write("test 2")
    
            def copy1 = storeAndLoad(block1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. test/copy1.go

    // Verify that copy arguments requirements are enforced by the
    // compiler.
    
    package main
    
    func main() {
    
    	si := make([]int, 8)
    	sf := make([]float64, 8)
    
    	_ = copy()        // ERROR "not enough arguments"
    	_ = copy(1, 2, 3) // ERROR "too many arguments"
    
    	_ = copy(si, "hi") // ERROR "have different element types(.*int.*string| int and byte)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 04 21:22:23 UTC 2020
    - 851 bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/tasks/Copy.java

     */
    
    package org.gradle.api.tasks;
    
    import org.gradle.api.InvalidUserDataException;
    import org.gradle.api.internal.file.copy.CopyAction;
    import org.gradle.api.internal.file.copy.CopySpecInternal;
    import org.gradle.api.internal.file.copy.DestinationRootCopySpec;
    import org.gradle.api.internal.file.copy.FileCopyAction;
    import org.gradle.work.DisableCachingByDefault;
    
    import java.io.File;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 24 23:13:41 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  4. test/codegen/copy.go

    	// ppc64x:-".*memmove"
    	copy(x[1:], x[:])
    }
    
    func movesmall7() {
    	x := [...]byte{1, 2, 3, 4, 5, 6, 7}
    	// 386:-".*memmove"
    	// amd64:-".*memmove"
    	// arm64:-".*memmove"
    	// ppc64x:-".*memmove"
    	copy(x[1:], x[:])
    }
    
    func movesmall16() {
    	x := [...]byte{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}
    	// amd64:-".*memmove"
    	// ppc64x:".*memmove"
    	copy(x[1:], x[:])
    }
    
    var x [256]byte
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 14:09:29 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. test/copy.go

    func doAllSlices(length, in, out int) {
    	reset()
    	n := copy(my8(output8[out:clamp(out+length)]), input8[in:clamp(in+length)])
    	verify8(length, in, out, n)
    	n = copy(my8(outputS[out:clamp(out+length)]), myS(inputS[in:clamp(in+length)]))
    	verifyS(length, in, out, n)
    	n = copy(my16(output16[out:clamp(out+length)]), input16[in:clamp(in+length)])
    	verify16(length, in, out, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 6.6K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/copy.go

    /*
    Copyright 2023 The Kubernetes Authors.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 01:42:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ir/copy.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ir
    
    import (
    	"cmd/internal/src"
    )
    
    // Copy returns a shallow copy of n.
    func Copy(n Node) Node {
    	return n.copy()
    }
    
    // DeepCopy returns a “deep” copy of n, with its entire structure copied
    // (except for shared nodes like ONAME, ONONAME, OLITERAL, and OTYPE).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:57:57 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. build/copy-output.sh

    #!/usr/bin/env bash
    
    # Copyright 2014 The Kubernetes Authors.
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    # you may not use this file except in compliance with the License.
    # You may obtain a copy of the License at
    #
    #     http://www.apache.org/licenses/LICENSE-2.0
    #
    # Unless required by applicable law or agreed to in writing, software
    # distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 16 08:39:13 UTC 2019
    - 883 bytes
    - Viewed (0)
  9. tools/docker-copy.sh

      FILE_INFO=$(file "${FILE}" || true)
    
      if [[ "${arch}" != "" && ${COPY_ARCH_RELATED} == 1 ]]; then
        # if other arch files exists, should copy too.
        for ARCH in "amd64" "arm64"; do
          # like file `out/linux_amd64/pilot-discovery`
          # should check  `out/linux_arm64/pilot-discovery` exists then do copy
    
          local FILE_ARCH_RELATED=${FILE/linux_${TARGET_ARCH}/linux_${ARCH}}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 04 03:06:26 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  10. cmd/copy-part-range.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"net/http"
    	"net/url"
    )
    
    // Writes S3 compatible copy part range error.
    func writeCopyPartErr(ctx context.Context, w http.ResponseWriter, err error, url *url.URL) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 18 03:27:04 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top