Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 849 for memset (0.21 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

        size_t bytes_to_copy = 0;
        if (offset == 0) {
          // The first block (16 bytes) of the file.
          memset(buffer, 'x', n);
          bytes_to_copy = n;
          first_block = true;
        } else if (offset == block_size) {
          // The second block (8 bytes) of the file.
          bytes_to_copy = file_size - block_size;
          memset(buffer, 'x', bytes_to_copy);
          second_block = true;
        }
        TF_SetStatus(status, TF_OK, "");
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem.cc

        return errors::InvalidArgument(
            "SetConfiguration() needs number of values > 0");
      }
    
      TF_Filesystem_Option option;
      memset(&option, 0, sizeof(option));
      option.name = const_cast<char*>(name.c_str());
      TF_Filesystem_Option_Value option_value;
      memset(&option_value, 0, sizeof(option_value));
      option_value.type_tag = TF_Filesystem_Option_Type_Buffer;
      option_value.num_values = values.size();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

     
     /* Set N bytes of S to C.  */
     #if !defined _HAVE_STRING_ARCH_memset
    -# if !__GNUC_PREREQ (3, 0)
    -#  if _STRING_ARCH_unaligned
    -#   define memset(s, c, n) \
    -  (__extension__ (__builtin_constant_p (n) && (n) <= 16			      \
    -		  ? ((n) == 1						      \
    -		     ? __memset_1 (s, c)				      \
    -		     : __memset_gc (s, c, n))				      \
    -		  : (__builtin_constant_p (c) && (c) == '\0'		      \
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
  4. src/archive/zip/zip_test.go

    		if rp == nil || rp.b != b {
    			r.buf = append(r.buf, repeatedByte{r.Size(), b, 1})
    			rp = &r.buf[len(r.buf)-1]
    		} else {
    			rp.n++
    		}
    	}
    	return len(p), nil
    }
    
    func memset(a []byte, b byte) {
    	if len(a) == 0 {
    		return
    	}
    	// Double, until we reach power of 2 >= len(a), same as bytes.Repeat,
    	// but without allocation.
    	a[0] = b
    	for i, l := 1, len(a); i < l; i *= 2 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

                                               size_t plugin_size) {
      if (plugin_ops == nullptr) return nullptr;
    
      size_t copy_size = std::min(plugin_size, sizeof(T));
      auto core_ops = std::make_unique<T>();
      memset(core_ops.get(), 0, sizeof(T));
      memcpy(core_ops.get(), plugin_ops, copy_size);
      return core_ops;
    }
    
    // Registers one filesystem from the plugin.
    //
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    mediatech.by
    mediatech.dev
    
    // Medicom Health : https://medicomhealth.com
    // Submitted by Michael Olson <******@****.***>
    hra.health
    
    // Memset hosting : https://www.memset.com
    // Submitted by Tom Whitwell <domains@memset.com>
    miniserver.com
    memset.net
    
    // Messerli Informatik AG : https://www.messerli.ch/
    // Submitted by Ruben Schmidmeister <******@****.***>
    messerli.app
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  7. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    media.pl mediatech.by mediatech.dev medical.museum medicina.bo medio-campidano.it mediocampidano.it medizinhistorisches.museum meeres.museum meet meguro.tokyo.jp mein-iserv.de mein-vigor.de meinforum.net meiwa.gunma.jp meiwa.mie.jp mel.cloudlets.com.au meland.no melbourne meldal.no melhus.no meloy.no meløy.no members.linode.com meme memorial memorial.museum memset.net men menu meraker.no merckmsd merseine.nu meråker.no mesaverde.museum messerli.app messina.it messwithdns.com meteorapp.com mex.com mg...
    Others
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 40.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        for (int i = 0; i < 10; i++) {
          cache.getUnchecked(i);
          ticker.advance(1, MILLISECONDS);
        }
        Set<Integer> keySet = cache.asMap().keySet();
        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // 0 expires
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // reorder
        getAll(cache, asList(0, 1, 2));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Primitives.java

       * simpler way to test whether a {@code Class} instance is a member of this set is to call {@link
       * Class#isPrimitive}.
       *
       * @since 3.0
       */
      public static Set<Class<?>> allPrimitiveTypes() {
        return PRIMITIVE_TO_WRAPPER_TYPE.keySet();
      }
    
      /**
       * Returns an immutable set of all nine primitive-wrapper types (including {@link Void}).
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 05 19:04:25 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        for (int i = 0; i < 10; i++) {
          cache.getUnchecked(i);
          ticker.advance(1, MILLISECONDS);
        }
        Set<Integer> keySet = cache.asMap().keySet();
        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // 0 expires
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // reorder
        getAll(cache, asList(0, 1, 2));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
Back to top