Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,727 for pbcopy (0.22 sec)

  1. guava/src/com/google/common/collect/ImmutableSet.java

        }
    
        RegularSetBuilderImpl(RegularSetBuilderImpl<E> toCopy) {
          super(toCopy);
          this.hashTable = (toCopy.hashTable == null) ? null : toCopy.hashTable.clone();
          this.maxRunBeforeFallback = toCopy.maxRunBeforeFallback;
          this.expandTableThreshold = toCopy.expandTableThreshold;
          this.hashCode = toCopy.hashCode;
        }
    
        @Override
        SetBuilderImpl<E> add(E e) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

          }
        }
    
        // Test that toArray() is used to make a defensive copy in copyOf(), so concurrently modified
        // synchronized collections can be safely copied.
        TestArrayList<String> toCopy = new TestArrayList<>();
        ImmutableSortedMultiset<String> unused =
            ImmutableSortedMultiset.copyOf(Ordering.natural(), toCopy);
        assertTrue(toCopy.toArrayCalled);
      }
    
      @SuppressWarnings("unchecked")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. misc/wasm/wasm_exec.js

    						if (!(src instanceof Uint8Array || src instanceof Uint8ClampedArray)) {
    							this.mem.setUint8(sp + 48, 0);
    							return;
    						}
    						const toCopy = src.subarray(0, dst.length);
    						dst.set(toCopy);
    						setInt64(sp + 40, toCopy.length);
    						this.mem.setUint8(sp + 48, 1);
    					},
    
    					// func copyBytesToJS(dst ref, src []byte) (int, bool)
    					"syscall/js.copyBytesToJS": (sp) => {
    JavaScript
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  4. guava-tests/test/com/google/common/io/CharStreamsTest.java

        // need a long enough string for the buffer to hit 0 remaining before the copy completes
        String string = Strings.repeat("0123456789", 100);
        StringBuilder b = new StringBuilder();
        // the main assertion of this test is here... the copy will fail if the buffer size goes down
        // each time it is not filled completely
        long copied = CharStreams.copy(newNonBufferFillingReader(new StringReader(string)), b);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        // need a long enough string for the buffer to hit 0 remaining before the copy completes
        String string = Strings.repeat("0123456789", 100);
        StringBuilder b = new StringBuilder();
        // the main assertion of this test is here... the copy will fail if the buffer size goes down
        // each time it is not filled completely
        long copied = CharStreams.copy(newNonBufferFillingReader(new StringReader(string)), b);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  6. internal/bucket/object/lock/lock.go

    	}
    	return
    }
    
    // FilterObjectLockMetadata filters object lock metadata if s3:GetObjectRetention permission is denied or if isCopy flag set.
    func FilterObjectLockMetadata(metadata map[string]string, filterRetention, filterLegalHold bool) map[string]string {
    	// Copy on write
    	dst := metadata
    	var copied bool
    	delKey := func(key string) {
    		if _, ok := metadata[key]; !ok {
    			return
    		}
    		if !copied {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        ImmutableSortedMap<String, Integer> copy =
            ImmutableSortedMap.copyOf(Collections.<String, Integer>emptyMap());
        assertEquals(Collections.<String, Integer>emptyMap(), copy);
        assertSame(copy, ImmutableSortedMap.copyOf(copy));
        assertSame(Ordering.natural(), copy.comparator());
      }
    
      public void testCopyOfSingletonMap() {
        ImmutableSortedMap<String, Integer> copy =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        ImmutableBiMap<String, Integer> copy =
            ImmutableBiMap.copyOf(Collections.<String, Integer>emptyMap());
        assertEquals(Collections.<String, Integer>emptyMap(), copy);
        assertSame(copy, ImmutableBiMap.copyOf(copy));
        assertSame(ImmutableBiMap.of(), copy);
      }
    
      public void testCopyOfSingletonMap() {
        ImmutableBiMap<String, Integer> copy =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        Collection<E> siblingCollection = new ArrayList<>();
        siblingCollection.add(sampleElement);
    
        Collection<E> copy = new ArrayList<>();
        // Avoid copy.addAll(collection), which runs afoul of an Android bug in older versions:
        // http://b.android.com/72073 http://r.android.com/98929
        Iterators.addAll(copy, collection.iterator());
    
        try {
          collection.add(sampleElement);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  10. internal/crypto/header_test.go

    	{
    		Header: http.Header{
    			"X-Amz-Copy-Source-Server-Side-Encryption-Customer-Algorithm": []string{""},
    			"X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key":       []string{""},
    			"X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key-Md5":   []string{""},
    		},
    		Expected: true,
    	}, // 4
    	{
    		Header: http.Header{
    			"X-Amz-Copy-Source-Server-Side-Encryption-Customer-Algorithm": []string{"AES256"},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jul 13 14:52:15 GMT 2022
    - 21.4K bytes
    - Viewed (0)
Back to top