Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 57 of 57 for Memcpy (0.12 sec)

  1. test/recover4.go

    		log.Fatalf("mprotect: %v", err)
    	}
    
    	// Check that memcopy returns the actual amount copied
    	// before the fault.
    	const offset = 5
    	n, err := memcopy(data[offset:], make([]byte, len(data)))
    	if err == nil {
    		log.Fatal("no error from memcopy across memory hole")
    	}
    	if expect := len(data)/2 - offset; n != expect {
    		log.Fatalf("memcopy returned %d, want %d", n, expect)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      const std::string attrs =
          mlir::cast<mlir::TFL::ConstBytesAttr>(op.getCustomOption())
              .getValue()
              .str();
      std::vector<uint8_t> custom_option_vector(attrs.size(), 0);
      memcpy(custom_option_vector.data(), attrs.data(), attrs.size());
      auto opcode_index =
          GetOpcodeIndex(op.getCustomCode().str(), tflite::BuiltinOperator_CUSTOM);
      if (use_buffer_offset_) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

              input_shape_type, current_input_index);
          // Address of input element to write raw data.
          const char* input_element_addr =
              raw_input + (input_flat_index * element_byte_size);
          std::memcpy(output_element_addr, input_element_addr, element_byte_size);
          // Increment the next output address to write to by bytes equal to
          // width of constiuent elements.
          output_element_addr += element_byte_size;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

            case FILE -> ComponentUtil.getFessConfig().getCrawlerFileProtocolsAsArray();
            default -> throw new ConstraintDefinitionException("protocolType is emtpy.");
            };
        }
    
        @Override
        public boolean isValid(final String value, final ConstraintValidatorContext context) {
            if (StringUtil.isNotBlank(value)) {
                return check(protocols, value);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type3Message.java

            boolean unicode = getFlag(NTLMSSP_NEGOTIATE_UNICODE);
            String oemCp = unicode ? null : getOEMEncoding();
    
            String domainName = getDomain();
            byte[] domainBytes = null;
            if ( domainName != null && domainName.length() != 0 ) {
                domainBytes = unicode ? domainName.getBytes(UNI_ENCODING) : domainName.getBytes(oemCp);
                size += domainBytes.length;
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  6. src/slices/slices_test.go

    	}
    
    	if !Equal(original, copy) {
    		t.Errorf("original slice has changed, got %v, want %v", original, copy)
    	}
    
    	if !Equal(mem, memcopy) {
    		// Changing the original tail s[len(s):cap(s)] is unwanted
    		t.Errorf("original backing memory has changed, got %v, want %v", mem, memcopy)
    	}
    }
    
    func TestReplaceClearTail(t *testing.T) {
    	a, b, c, d, e, f := 1, 2, 3, 4, 5, 6
    	mem := []*int{&a, &b, &c, &d, &e, &f}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. RELEASE.md

    Codrut, Courtial Florian, Dalmo Cirne, Dan J, Darren Garvey, David
    Kristoffersson, David Norman, David RöThlisberger, DavidNorman, Dhruv, DimanNe,
    Dorokhov, Duncan Mac-Vicar P, EdwardDixon, EMCP, error.d, FAIJUL, Fan Xia,
    Francois Xavier, Fred Reiss, Freedom" Koan-Sin Tan, Fritz Obermeyer, Gao, Xiang,
    Guenther Schmuelling, Guo Yejun (郭叶军), Hans Gaiser, HectorSVC, Hyungsuk Yoon,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top