Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 111 for Copy (0.16 sec)

  1. guava-tests/test/com/google/common/collect/SetsTest.java

        Set<SomeEnum> units = Sets.immutableEnumSet(SomeEnum.D, SomeEnum.B);
    
        assertThat(units).containsExactly(SomeEnum.B, SomeEnum.D).inOrder();
    
        Set<SomeEnum> copy = SerializableTester.reserializeAndAssert(units);
        assertTrue(copy instanceof ImmutableEnumSet);
      }
    
      public void testImmutableEnumSet_fromIterable() {
        ImmutableSet<SomeEnum> none = Sets.immutableEnumSet(MinimalIterable.<SomeEnum>of());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  2. 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) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test.cc

      const TFE_OpAttrs* attributes = TFE_OpGetAttrs(var_op);
    
      TFE_Op* copy_op = TFE_NewOp(ctx, "VarHandleOp", status);
      TFE_OpSetAttrType(copy_op, "dtype", TF_FLOAT);
      TFE_OpAddAttrs(copy_op, attributes);
      unsigned char is_list = 0;
      ASSERT_EQ(TF_ATTR_TYPE,
                TFE_OpGetAttrType(copy_op, "dtype", &is_list, status));
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

        ListenableFuture<? extends T>[] copy = gwtCompatibleToArray(futures);
        final InCompletionOrderState<T> state = new InCompletionOrderState<>(copy);
        ImmutableList.Builder<AbstractFuture<T>> delegatesBuilder =
            ImmutableList.builderWithExpectedSize(copy.length);
        for (int i = 0; i < copy.length; i++) {
          delegatesBuilder.add(new InCompletionOrderFuture<T>(state));
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    		Code:           "InvalidRequest",
    		Description:    "This copy request is illegal because it is trying to copy an object to itself without changing the object's metadata, storage class, website redirect location or encryption attributes.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidCopySource: {
    		Code:           "InvalidArgument",
    		Description:    "Copy Source must mention the source bucket and key: sourcebucket/sourcekey.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  6. 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 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  7. 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"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/base/CharMatcher.java

    /*
     * Copyright (C) 2008 The Guava 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  9. tensorflow/BUILD

    # load("@rules_license//rules:license.bzl", "license")
    # # buildifier: enable=out-of-order-load
    # copybara:uncomment_end
    
    # copybara:comment_begin(oss-only)
    load("@bazel_skylib//rules:copy_file.bzl", "copy_file")
    load(
        "//tensorflow/python/tools/api/generator:api_gen.bzl",
        "get_compat_files",
        "get_nested_compat_files",
    )
    load(
        "//tensorflow/python/tools/api/generator:api_init_files.bzl",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  10. cmd/bucket-handlers.go

    	if len(fanOutEntries) > 0 {
    		// Fan-out requires no copying, and must be carried from original source
    		// https://en.wikipedia.org/wiki/Copy_protection so the incoming stream
    		// is always going to be in-memory as we cannot re-read from what we
    		// wrote to disk - since that amounts to "copying" from a "copy"
    		// instead of "copying" from source, we need the stream to be seekable
    		// to ensure that we can make fan-out calls concurrently.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top