Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 9,985 for copy2 (0.06 sec)

  1. 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)
  2. src/mime/multipart/formdata.go

    			if _, err := file.Write(b.Bytes()); err != nil {
    				return nil, err
    			}
    			if copyBuf == nil {
    				copyBuf = make([]byte, 32*1024) // same buffer size as io.Copy uses
    			}
    			// os.File.ReadFrom will allocate its own copy buffer if we let io.Copy use it.
    			type writerOnly struct{ io.Writer }
    			remainingSize, err := io.CopyBuffer(writerOnly{file}, p, copyBuf)
    			if err != nil {
    				return nil, err
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. src/internal/trace/batch.go

    	}
    	if size > go122.MaxBatchSize {
    		return batch{}, gen, fmt.Errorf("invalid batch size %d, maximum is %d", size, go122.MaxBatchSize)
    	}
    
    	// Copy out the batch for later processing.
    	var data bytes.Buffer
    	data.Grow(int(size))
    	n, err := io.CopyN(&data, r, int64(size))
    	if n != int64(size) {
    		return batch{}, gen, fmt.Errorf("failed to read full batch: read %d but wanted %d", n, size)
    	}
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/AbstractPropertySpec.groovy

            then:
            property.isFinalized()
        }
    
        def "can obtain shallow copy of property"() {
            given:
            def property = propertyWithValue(someValue())
    
            when:
            def copy = property.shallowCopy()
    
            then:
            copy.orNull == someValue()
        }
    
        def "shallow copy of property does not follow changes to original"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 12:47:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/DefaultMutableIvyModuleResolveMetadataTest.groovy

            immutable.excludes == excludes
    
            def copy = immutable.asMutable()
            copy != metadata
            copy.id == newId
            copy.moduleVersionId == DefaultModuleVersionIdentifier.newId(newId)
            copy.sources == MutableModuleSources.of(sources)
            copy.status == "3"
            copy.branch == "release"
            copy.changing
            copy.missing
            copy.statusScheme == ["1", "2", "3"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/transformation/OriginReplacement.kt

                    is ObjectOrigin.CustomConfigureAccessor -> origin.copy(receiver = replace(origin.receiver))
                    is ObjectOrigin.FromLocalValue -> origin.copy(assigned = replace(origin.assigned))
                    is ObjectOrigin.ImplicitThisReceiver -> origin.copy(resolvedTo = replaceInReceiver(origin.resolvedTo))
                    is ObjectOrigin.PropertyDefaultValue -> origin.copy(receiver = replace(origin.receiver))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. samples/bookinfo/src/productpage/Dockerfile

    FROM python:3.12.1-slim
    
    WORKDIR /
    
    COPY requirements.txt ./
    RUN pip3 install -vvv --require-hashes --no-cache-dir -r requirements.txt
    
    COPY test-requirements.txt ./
    RUN pip3 install --no-cache-dir --require-hashes -r test-requirements.txt
    
    COPY productpage.py /opt/microservices/
    COPY tests/unit/* /opt/microservices/
    COPY templates /opt/microservices/templates
    COPY static /opt/microservices/static
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/CopyUtilTest.java

            result = copy(outputFile, "UTF-8", writer);
            assertThat(writer.toString(), is(urlString));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testFileToFile_Encoding() throws Exception {
            int result = copy(inputFile, "UTF-8", outputFile, "Shift_JIS");
            assertThat(result, is(urlString.length()));
    
            result = copy(outputFile, "Shift_JIS", writer);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. pkg/test/echo/docker/Dockerfile.app_sidecar_centos_8

    # Install the certs.
    COPY certs/                           /var/lib/istio/
    COPY certs/default/                   /var/run/secrets/istio/
    
    # Install the sidecar components
    COPY istio-sidecar.rpm  /tmp/istio-sidecar.rpm
    RUN rpm -vi /tmp/istio-sidecar.rpm && rm /tmp/istio-sidecar.rpm
    
    # Sudoers used to allow tcpdump and other debug utilities.
    COPY sudoers /etc/sudoers
    
    # Install the Echo application
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 22:55:51 UTC 2024
    - 839 bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        TreeMultimap<String, Integer> copy = TreeMultimap.create(tree);
        assertEquals(tree, copy);
        assertThat(copy.keySet()).containsExactly("google", "tree").inOrder();
        assertThat(copy.get("google")).containsExactly(2, 6).inOrder();
        assertEquals(Ordering.natural(), copy.keyComparator());
        assertEquals(Ordering.natural(), copy.valueComparator());
        assertEquals(Ordering.natural(), copy.get("google").comparator());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top