Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for pbcopy (0.36 sec)

  1. tensorflow/c/eager/c_api_test.cc

        // Ensure that the contents are the same!
        TF_Tensor* tcopy = TFE_TensorHandleResolve(hcopy, status.get());
        TFE_DeleteTensorHandle(hcopy);
        if (TF_GetCode(status.get()) != TF_OK) {
          ADD_FAILURE() << tag;
          continue;
        }
        EXPECT_EQ(TF_TensorByteSize(t), TF_TensorByteSize(tcopy)) << tag;
        EXPECT_EQ(
            0, memcmp(TF_TensorData(t), TF_TensorData(tcopy), TF_TensorByteSize(t)))
            << tag;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  2. src/main/java/org/codelibs/core/io/CopyUtil.java

    /*
     * Copyright 2012-2024 CodeLibs Project and the Others.
     *
     * 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,
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 52.4K bytes
    - Viewed (0)
  3. 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) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  4. docs/ru/docs/deployment/docker.md

    <details>
    <summary>Развернуть Dockerfile 👀</summary>
    
    ```Dockerfile
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    COPY ./app /code/app
    
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Synchronized.java

          synchronized (mutex) {
            return delegate().removeAll(key); // copy not synchronized
          }
        }
    
        @Override
        public List<V> replaceValues(K key, Iterable<? extends V> values) {
          synchronized (mutex) {
            return delegate().replaceValues(key, values); // copy not synchronized
          }
        }
    
        private static final long serialVersionUID = 0;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapsTest.java

        EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original);
        assertEquals(original, copy);
      }
    
      public void testEnumMapWithInitialEmptyEnumMap() {
        EnumMap<SomeEnum, Integer> original = Maps.newEnumMap(SomeEnum.class);
        EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original);
        assertEquals(original, copy);
        assertNotSame(original, copy);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapsTest.java

        EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original);
        assertEquals(original, copy);
      }
    
      public void testEnumMapWithInitialEmptyEnumMap() {
        EnumMap<SomeEnum, Integer> original = Maps.newEnumMap(SomeEnum.class);
        EnumMap<SomeEnum, Integer> copy = Maps.newEnumMap(original);
        assertEquals(original, copy);
        assertNotSame(original, copy);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

       * key/value mapping in the underlying multimap and determine which satisfy the filter. When a
       * live view is <i>not</i> needed, it may be faster to copy the filtered multimap and use the
       * copy.
       *
       * <p><b>Warning:</b> {@code keyPredicate} must be <i>consistent with equals</i>, as documented at
       * {@link Predicate#apply}. Do not provide a predicate such as {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 86.1K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/collect/Sets.java

          for (Set<? extends E> set : sets) {
            ImmutableSet<E> copy = ImmutableSet.copyOf(set);
            if (copy.isEmpty()) {
              return ImmutableSet.of();
            }
            axesBuilder.add(copy);
          }
          final ImmutableList<ImmutableSet<E>> axes = axesBuilder.build();
          ImmutableList<List<E>> listAxes =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 77.2K bytes
    - Viewed (0)
Back to top