Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 33 for copyTo (0.03 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                                        new LinkedHashSet<>(project.getRemoteArtifactRepositories());
                                reposes.addAll(request.getRemoteRepositories());
                                mergedRepositories = List.copyOf(reposes);
                            }
                            case REQUEST_DOMINANT -> {
                                LinkedHashSet<ArtifactRepository> reposes =
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  2. src/bufio/bufio_test.go

    		if _, err := w.ReadFrom(rw); err != rw.expected {
    			t.Errorf("w.ReadFrom(errorReaderFromTests[%d]) = _, %v, want _,%v", i, err, rw.expected)
    		}
    	}
    }
    
    // TestWriterReadFromCounts tests that using io.Copy to copy into a
    // bufio.Writer does not prematurely flush the buffer. For example, when
    // buffering writes to a network socket, excessive network writes should be
    // avoided.
    func TestWriterReadFromCounts(t *testing.T) {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("src", pom.getValue("build/plugins[1]/configuration/domParam/copy/@todir"));
            assertEquals("true", pom.getValue("build/plugins[1]/configuration/domParam/copy/@overwrite"));
            assertEquals("target", pom.getValue("build/plugins[1]/configuration/domParam/copy/fileset/@dir"));
            assertNull(pom.getValue("build/plugins[1]/configuration/domParam/copy/fileset/@todir"));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 94.8K bytes
    - Click Count (0)
  4. src/bytes/bytes_test.go

    	})
    	uchars := string(rs)
    
    	return func(b *testing.B, n int) {
    		buf := bmbuf[0:n]
    		o := copy(buf, uchars)
    		for o < len(buf) {
    			o += copy(buf[o:], uchars)
    		}
    
    		// Make space for the needle rune at the end of buf.
    		m := utf8.RuneLen(needle)
    		for o := m; o > 0; {
    			_, sz := utf8.DecodeLastRune(buf)
    			copy(buf[len(buf)-sz:], "\x00\x00\x00\x00")
    			buf = buf[:len(buf)-sz]
    			o -= sz
    		}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 23 23:54:14 GMT 2025
    - 62.9K bytes
    - Click Count (0)
  5. cmd/bucket-handlers.go

    					}
    					fanOutEntries = append(fanOutEntries, m)
    				}
    				part.Close()
    				continue
    			}
    
    			buf := bytebufferpool.Get()
    			// value, store as string in memory
    			n, err := io.CopyN(buf, part, maxMemoryBytes+1)
    			value := buf.String()
    			buf.Reset()
    			bytebufferpool.Put(buf)
    			part.Close()
    
    			if err != nil && err != io.EOF {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 63.9K bytes
    - Click Count (0)
  6. tensorflow/BUILD

    #             "*.bara.sky",
    #             "*.dic",
    #             "*.ftrcp",
    #         ],
    #         exclude = [
    #             "copy.bara.sky",
    #         ],
    #     ),
    #     visibility = ["//visibility:public"],
    # )
    #
    # filegroup(
    #     name = "copybara_config",
    #     srcs = ["copy.bara.sky"],
    #     data = [
    #         ":copybara_library",
    #         "//learning/brain/testing/copybara:all_bara_sky",
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Nov 12 19:21:56 GMT 2025
    - 53.1K bytes
    - Click Count (0)
  7. src/archive/zip/reader_test.go

    		if size != ft.Size {
    			t.Errorf("%v: uncompressed size %#x, want %#x", ft.Name, size, ft.Size)
    		}
    		r.Close()
    		return
    	}
    
    	var b bytes.Buffer
    	_, err = io.Copy(&b, r)
    	if err != ft.ContentErr {
    		t.Errorf("copying contents: %v (want %v)", err, ft.ContentErr)
    	}
    	if err != nil {
    		return
    	}
    	r.Close()
    
    	if g := uint64(b.Len()); g != size {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 17 20:10:27 GMT 2025
    - 56.5K bytes
    - Click Count (0)
  8. cmd/xl-storage-format-v2.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // 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 (
    	"bytes"
    	"encoding/binary"
    	"encoding/hex"
    	"errors"
    	"fmt"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 65.6K bytes
    - Click Count (1)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                return extRealm;
            }
    
            return coreRealm;
        }
    
        private static <T> List<T> reverse(List<T> list) {
            List<T> copy = new ArrayList<>(list);
            Collections.reverse(copy);
            return copy;
        }
    
        private List<File> parseExtClasspath(CliRequest cliRequest) {
            String extClassPath = cliRequest.userProperties.getProperty(Constants.MAVEN_EXT_CLASS_PATH);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            return snapshotArtifactRepository;
        }
    
        private void deepCopy(MavenProject project) {
            // disown the parent
    
            // copy fields
            file = project.file;
            basedir = project.basedir;
    
            // don't need a deep copy, they don't get modified or added/removed to/from - but make them unmodifiable to be
            // sure!
            if (project.getDependencyArtifacts() != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:47:20 GMT 2025
    - 67K bytes
    - Click Count (0)
Back to Top