Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 181 for nCopies (0.05 seconds)

  1. tensorflow/c/eager/immediate_execution_context.h

      // Silently copy the tensor, which has a performance cost since the operation
      // will be blocked till the copy completes. This is the default policy.
      DEVICE_PLACEMENT_SILENT = 2,
      // Placement policy which silently copies int32 tensors but not other dtypes.
      DEVICE_PLACEMENT_SILENT_FOR_INT32 = 3,
    };
    // LINT.ThenChange(//tensorflow/c/eager/c_api.h)
    
    // Abstract interface to a context.
    //
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 12.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       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.
     *   <li><b>Warning:</b> a view collection such as {@link ImmutableMap#keySet} or {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            int bytesWritten = transCallNamedPipe.writeParametersWireFormat(dst, 0);
    
            // Then
            assertEquals(0, bytesWritten);
        }
    
        @Test
        @DisplayName("Test writeDataWireFormat copies data correctly")
        void testWriteDataWireFormat() {
            // Given
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length);
            byte[] dst = new byte[100];
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/Files.java

          imports = "com.google.common.io.Files")
      public static void write(CharSequence from, File to, Charset charset) throws IOException {
        asCharSink(to, charset).write(from);
      }
    
      /**
       * Copies all bytes from a file to an output stream.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#copy(java.nio.file.Path, OutputStream)}.
       *
       * @param from the source file
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  5. docs/fr/docs/tutorial/index.md

    Il est également conçu pour servir de référence ultérieure, afin que vous puissiez revenir voir exactement ce dont vous avez besoin.
    
    ## Exécuter le code { #run-the-code }
    
    Tous les blocs de code peuvent être copiés et utilisés directement (il s'agit en fait de fichiers Python testés).
    
    Pour exécuter l'un de ces exemples, copiez le code dans un fichier `main.py`, et démarrez `fastapi dev` :
    
    <div class="termy">
    
    ```console
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            return false;
        }
    
        @Override
        public String toString() {
            return "MacSigningKey=" + Hexdump.toHexString(this.macSigningKey, 0, this.macSigningKey.length);
        }
    
        /**
         * Copies the given text data into the destination array
         *
         * @param cfg
         *            The configuration to use for text encoding
         * @param t
         *            The text data to copy
         * @param dst
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            when(mockCifsContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
    
            ntlmConnection = new NtlmHttpURLConnection(mockConnection, mockCifsContext);
        }
    
        /**
         * Test that the constructor copies settings from the wrapped connection.
         * @throws ProtocolException
         */
        @Test
        void testConstructorCopiesSettings() throws ProtocolException {
            // Arrange
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        bimap = EnumBiMap.create(emptyBimap);
        assertTrue(bimap.isEmpty());
      }
    
      public void testEnumBiMapConstructor() {
        /* Test that it copies existing entries. */
        EnumBiMap<Currency, Country> bimap1 = EnumBiMap.create(Currency.class, Country.class);
        bimap1.put(Currency.DOLLAR, Country.CANADA);
        EnumBiMap<Currency, Country> bimap2 = EnumBiMap.create(bimap1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  9. src/archive/zip/writer.go

    		w.last = nil
    		return dirWriter{}, nil
    	}
    
    	fw := &fileWriter{
    		header: h,
    		zipw:   w.cw,
    	}
    	w.last = fw
    	return fw, nil
    }
    
    // Copy copies the file f (obtained from a [Reader]) into w. It copies the raw
    // form directly bypassing decompression, compression, and validation.
    func (w *Writer) Copy(f *File) error {
    	r, err := f.OpenRaw()
    	if err != nil {
    		return err
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  10. LICENSE

          granted to You under this License for that Work shall terminate
          as of the date such litigation is filed.
    
       4. Redistribution. You may reproduce and distribute copies of the
          Work or Derivative Works thereof in any medium, with or without
          modifications, and in Source or Object form, provided that You
          meet the following conditions:
    
    Created: Wed Apr 01 00:11:11 GMT 2026
    - Last Modified: Thu Feb 20 19:53:57 GMT 2020
    - 11.1K bytes
    - Click Count (0)
Back to Top