- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of about 10,000 for ReserveN (0.16 sec)
-
pkg/registry/core/service/allocator/bitmap.go
} if r.allocated.Bit(offset) == 1 { return false, nil } r.allocated = r.allocated.SetBit(r.allocated, offset, 1) r.count++ return true, nil } // AllocateNext reserves one of the items from the pool. // (0, false, nil) may be returned if there are no items left. func (r *AllocationBitmap) AllocateNext() (int, bool, error) { r.lock.Lock() defer r.lock.Unlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 25 20:32:40 UTC 2023 - 7.6K bytes - Viewed (0) -
src/runtime/mem_bsd.go
mmap(v, n, _PROT_NONE, _MAP_ANON|_MAP_PRIVATE|_MAP_FIXED, -1, 0) } // Indicates not to reserve swap space for the mapping. const _sunosMAP_NORESERVE = 0x40 func sysReserveOS(v unsafe.Pointer, n uintptr) unsafe.Pointer { flags := int32(_MAP_ANON | _MAP_PRIVATE) if GOOS == "solaris" || GOOS == "illumos" { // Be explicit that we don't want to reserve swap space // for PROT_NONE anonymous mappings. This avoids an issue
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/jit/compilation_passes_test_main.cc
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 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,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 14 00:31:28 UTC 2019 - 1.9K bytes - Viewed (0) -
src/cmd/go/internal/web/url_windows.go
// Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package web import ( "errors" "path/filepath" "strings" ) func convertFileURLPath(host, path string) (string, error) { if len(path) == 0 || path[0] != '/' { return "", errNotAbsolute } path = filepath.FromSlash(path)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:43:51 UTC 2019 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/mlir_pass_instrumentation.cc
/* Copyright 2023 The TensorFlow Authors. All Rights Reserved. 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,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 22 18:41:36 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/cc/client/client_session.cc
} std::vector<string> output_tensor_names; output_tensor_names.reserve(fetch_outputs.size()); for (auto const& output : fetch_outputs) { output_tensor_names.push_back(output.name()); } std::vector<string> target_node_names; target_node_names.reserve(run_outputs.size()); for (auto const& output : run_outputs) { target_node_names.push_back(output.node()->name());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 09:04:10 UTC 2024 - 7.1K bytes - Viewed (0) -
src/runtime/rt0_darwin_arm64.s
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" #include "cgo/abi_arm64.h" TEXT _rt0_arm64_darwin(SB),NOSPLIT|NOFRAME,$0 MOVD $runtime·rt0_go(SB), R2 BL (R2) exit: MOVD $0, R0 MOVD $1, R16 // sys_exit SVC $0x80 B exit // When linking with -buildmode=c-archive or -buildmode=c-shared,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 30 01:28:43 UTC 2022 - 1.7K bytes - Viewed (0) -
src/runtime/mem.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime import "unsafe" // OS memory management abstraction layer // // Regions of the address space managed by the runtime may be in one of four // states at any given time: // 1) None - Unreserved and unmapped, the default state of any region.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 6.7K bytes - Viewed (0) -
tensorflow/cc/saved_model/experimental/public/concrete_function_list.h
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 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,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 12 19:37:48 UTC 2020 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/low_bit_utils.cc
/* Copyright 2022 The TensorFlow Authors. All Rights Reserved. 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,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 04 19:11:58 UTC 2023 - 2K bytes - Viewed (0)