Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 8,592 for copyFn (0.23 sec)

  1. licenses/github.com/BurntSushi/toml/cmd/toml-test-encoder/COPYING

    The MIT License (MIT)
    
    Copyright (c) 2013 TOML authors
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 28 19:33:59 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/copy.go

    		// In this case, the file is moved by copying and then deleting the source file,
    		// although it is less efficient than os.Rename().
    		klog.V(4).Infof("cannot rename %v to %v due to %v, attempting an alternative method", src, dest, err)
    		if err := CopyFile(src, dest); err != nil {
    			return errors.Wrapf(err, "failed to copy file %v to %v", src, dest)
    		}
    		return os.Remove(src)
    	}
    	return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 01:42:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/io/io_test.go

    	n, err = CopyN(b, strings.NewReader("foo"), 3) // b has read from
    	if n != 3 || err != nil {
    		t.Errorf("CopyN(bytes.Buffer, foo, 3) = %d, %v; want 3, nil", n, err)
    	}
    
    	n, err = CopyN(b, strings.NewReader("foo"), 4) // b has read from
    	if n != 3 || err != EOF {
    		t.Errorf("CopyN(bytes.Buffer, foo, 4) = %d, %v; want 3, EOF", n, err)
    	}
    
    	n, err = CopyN(b, wantedAndErrReader{}, 5)
    	if n != 5 || err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:04:41 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  4. 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)
  5. src/runtime/memmove_arm64.s

    	STP	(R12, R13), -16(R5)
    	RET
    
    // Small copies: 1..16 bytes.
    copy16:
    	ADD	R1, R2, R4 // R4 points just past the last source byte
    	ADD	R0, R2, R5 // R5 points just past the last destination byte
    	CMP	$8, R2
    	BLT	copy7
    	MOVD	(R1), R6
    	MOVD	-8(R4), R7
    	MOVD	R6, (R0)
    	MOVD	R7, -8(R5)
    	RET
    
    copy7:
    	TBZ	$2, R2, copy3
    	MOVWU	(R1), R6
    	MOVWU	-4(R4), R7
    	MOVW	R6, (R0)
    	MOVW	R7, -4(R5)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 18:26:13 UTC 2022
    - 6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/SparseImmutableTable.java

        // Casts without copying.
        ImmutableMap<C, ImmutableMap<R, V>> columnMap = this.columnMap;
        return ImmutableMap.<C, Map<R, V>>copyOf(columnMap);
      }
    
      @Override
      public ImmutableMap<R, Map<C, V>> rowMap() {
        // Casts without copying.
        ImmutableMap<R, ImmutableMap<C, V>> rowMap = this.rowMap;
        return ImmutableMap.<R, Map<C, V>>copyOf(rowMap);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       */
      public static <E> ImmutableSortedSet<E> copyOf(
          Comparator<? super E> comparator, Collection<? extends E> elements) {
        return copyOf(comparator, (Iterable<? extends E>) elements);
      }
    
      /**
       * Returns an immutable sorted set containing the elements of a sorted set, sorted by the same
       * {@code Comparator}. That behavior differs from {@link #copyOf(Iterable)}, which always uses the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top