Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,723 for pbcopy (0.17 sec)

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

        ImmutableMap<String, Integer> copy =
            ImmutableMap.copyOf(Collections.<String, Integer>emptyMap());
        assertEquals(Collections.<String, Integer>emptyMap(), copy);
        assertSame(copy, ImmutableMap.copyOf(copy));
      }
    
      public void testCopyOfSingletonMap() {
        ImmutableMap<String, Integer> copy = ImmutableMap.copyOf(Collections.singletonMap("one", 1));
        assertMapEquals(copy, "one", 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/immediate_execution_context.h

    class Device;
    
    // LINT.IfChange
    // Note: Keep in sync with exported copy of enum in eager/c_api.h.
    enum ContextDevicePlacementPolicy {
      // Running operations with input tensors on the wrong device will fail.
      DEVICE_PLACEMENT_EXPLICIT = 0,
      // Copy the tensor to the right device but log a warning.
      DEVICE_PLACEMENT_WARN = 1,
      // Silently copy the tensor, which has a performance cost since the operation
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ListsImplTest.java

        List<Integer> copy = createList(Integer.class, 1, 2, 2);
        List<Integer> outOfOrder = createList(Integer.class, 2, 2, 1);
        List<Integer> diffValue = createList(Integer.class, 1, 2, 4);
        List<Integer> diffLength = createList(Integer.class, 1, 2);
        List<Integer> empty = createList(Integer.class);
    
        assertThat(Lists.hashCodeImpl(base)).isEqualTo(Lists.hashCodeImpl(copy));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. fastapi/dependencies/utils.py

        flat_dependant = Dependant(
            path_params=dependant.path_params.copy(),
            query_params=dependant.query_params.copy(),
            header_params=dependant.header_params.copy(),
            cookie_params=dependant.cookie_params.copy(),
            body_params=dependant.body_params.copy(),
            security_schemes=dependant.security_requirements.copy(),
            use_cache=dependant.use_cache,
            path=dependant.path,
        )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableCollection.java

     *   <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.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  6. guava-tests/test/com/google/common/io/ByteSourceTest.java

        ByteSource fewerBytes = new TestByteSource(newPreFilledByteArray(bytes.length / 2));
        assertFalse(source.contentEquals(fewerBytes));
    
        byte[] copy = bytes.clone();
        copy[9876] = 1;
        ByteSource oneByteOff = new TestByteSource(copy);
        assertFalse(source.contentEquals(oneByteOff));
      }
    
      public void testSlice() throws IOException {
        // Test preconditions
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device.cc

            // copies/broadcasts. Other implicit copies may be supported eventually,
            // but need special handling for gradients (gradient of copy-on is not
            // just copy-off but includes a sum) and consideration of performance.
            //
            // TODO(allenl): There may be smarter ways to do this copy in some
            // cases, i.e. with a collective broadcast. We'll need to be careful
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
  8. maven-core/src/test/remote-repo/org/apache/maven/its/plugins/maven-it-plugin/0.1/maven-it-plugin-0.1.jar

    with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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, WITHOUT WARRANTIES OR CONDITIONS OF ANY *...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Oct 23 23:48:02 GMT 2009
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                        CopyUtil.copy(is, os);
                    } catch (final Exception e) {
                        if (tempFile.exists() && !tempFile.delete()) {
                            logger.warn("Failed to delete {}.", tempFile.getAbsolutePath());
                        }
                        logger.debug("Failed to copy {}", filename, e);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  10. cmd/object-multipart-handlers.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 (
    	"bufio"
    	"context"
    	"io"
    	"net/http"
    	"net/url"
    	"sort"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
Back to top