- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 8,592 for copyFn (0.28 sec)
-
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
* ImmutableSortedMultiset#copyOf(Comparable[])}.</b> */ @DoNotCall("Elements must be Comparable. (Or, pass a Comparator to orderedBy or copyOf.)") @Deprecated // The usage of "Z" here works around bugs in Javadoc (JDK-8318093) and JDiff. public static <Z> ImmutableSortedMultiset<Z> copyOf(Z[] elements) { throw new UnsupportedOperationException(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 35.5K bytes - Viewed (0) -
src/archive/zip/example_test.go
// printing some of their contents. for _, f := range r.File { fmt.Printf("Contents of %s:\n", f.Name) rc, err := f.Open() if err != nil { log.Fatal(err) } _, err = io.CopyN(os.Stdout, rc, 68) if err != nil { log.Fatal(err) } rc.Close() fmt.Println() } // Output: // Contents of README: // This is the source code repository for the Go programming language. }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 27 00:22:03 UTC 2016 - 2K bytes - Viewed (0) -
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) -
src/internal/trace/batch.go
} // 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 { return batch{}, gen, fmt.Errorf("copying batch data: %w", err) } // Return the batch.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/jit/clone_constants_for_better_clustering.h
// would increase the amount of work on GPU 0 waiting on work on GPU 1. // However, cloning Const into two copies, one for GPU_0_Y and one for GPU_1 // will let us create one cluster containing {Const/copy_0, GPU_1} and // another containing {Const/copy_1, GPU_0_X, GPU_0_Y}. // // We only clone small host constants now to avoid increasing memory consumption // too much. Moreover, in practice the constants we have to duplicate are
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 19 23:57:44 UTC 2023 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/DenseImmutableTable.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 - 10K bytes - Viewed (0) -
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) -
guava/src/com/google/common/collect/ImmutableCollection.java
* access, and lastly speed of creation. * <li>The {@code copyOf} methods will sometimes recognize that the actual copy operation is * unnecessary; for example, {@code copyOf(copyOf(anArrayList))} should copy the data only * once. This reduces the expense of habitually making defensive copies at API boundaries. * However, the precise conditions for skipping the copy operation are undefined.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 18.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
? copyOf((Collection<? extends E>) elements) : copyOf(elements.iterator()); } /** * Returns an immutable list containing the given elements, in order. * * <p>Despite the method name, this method attempts to avoid actually copying the data when it is * safe to do so. The exact circumstances under which a copy will or will not be performed are
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 08 03:01:02 UTC 2024 - 29.9K bytes - Viewed (0) -
src/os/dir.go
// the file in fsys. // // Symbolic links in fsys are not supported, a *PathError with Err set // to ErrInvalid is returned on symlink. // // Copying stops at and returns the first error encountered. func CopyFS(dir string, fsys fs.FS) error { return fs.WalkDir(fsys, ".", func(path string, d fs.DirEntry, err error) error { if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 6.1K bytes - Viewed (0)