- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for untouched (0.29 sec)
-
test/fixedbugs/issue13162.go
import ( "fmt" "os" ) func check(n int) { var i int var r rune b := make([]byte, n) for i = range b { b[i] = byte(i + 1) } s := string(b) // When n == 0, i is untouched by the range loop. // Picking an initial value of -1 for i makes the // "want" calculation below correct in all cases. i = -1 for i = range s { b[i] = s[i] } if want := n - 1; i != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 30 18:17:20 UTC 2016 - 1.6K bytes - Viewed (0) -
tensorflow/c/eager/abstract_tensor_handle.h
// the tensor handle can be an error and return non-OK status. virtual tensorflow::Status TensorHandleStatus() const; // Returns tensor shape. If tensor has unknown rank, shape remains untouched. virtual tensorflow::Status Shape( tensorflow::PartialTensorShape* shape) const = 0; // Returns tensor (full) type. // While there is no immediate plan to deprecate dtype and shape in favor
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 00:30:36 UTC 2023 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AbstractIteratorTest.java
new AbstractIterator<Integer>() { @Override public Integer computeNext() { throw exception; } }; // It should pass through untouched try { iter.hasNext(); fail("No exception thrown"); } catch (SomeUncheckedException e) { assertSame(exception, e); } } public void testExceptionAfterEndOfData() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu May 04 09:41:29 UTC 2023 - 6.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/preflight.go
"Once ready, the upgrade can be initiated by skipping the preflight check. During the upgrade, " + "kubeadm will migrate the configuration while leaving the listed plugin configs untouched, " + "but cannot guarantee that they will work with the newer version of CoreDNS.") return errors.Errorf("CoreDNS cannot migrate the following plugins:\n%s", UnsupportedPlugins) } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 25 13:53:28 UTC 2023 - 4.1K bytes - Viewed (0) -
src/container/ring/ring.go
// as nil Ring pointers. The zero value for a Ring is a one-element // ring with a nil Value. type Ring struct { next, prev *Ring Value any // for use by client; untouched by this library } func (r *Ring) init() *Ring { r.next = r r.prev = r return r } // Next returns the next ring element. r must not be empty. func (r *Ring) Next() *Ring { if r.next == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 01 18:18:07 UTC 2022 - 3.1K bytes - Viewed (0) -
src/os/env.go
if name == "" && w > 0 { // Encountered invalid syntax; eat the // characters. } else if name == "" { // Valid syntax, but $ was not followed by a // name. Leave the dollar character untouched. buf = append(buf, s[j]) } else { buf = append(buf, mapping(name)...) } j += w i = j + 1 } } if buf == nil { return s } return string(buf) + s[i:] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/c/tf_tensor.h
int num_dims, size_t len); // Deletes `tensor` and returns a new TF_Tensor with the same content if // possible. Returns nullptr and leaves `tensor` untouched if not. TF_CAPI_EXPORT extern TF_Tensor* TF_TensorMaybeMove(TF_Tensor* tensor); // Destroy a tensor. TF_CAPI_EXPORT extern void TF_DeleteTensor(TF_Tensor*); // Return the type of a tensor element.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 06 16:40:30 UTC 2024 - 6.3K bytes - Viewed (0) -
pkg/api/service/testing/make.go
return func(svc *api.Service) { svc.Spec.IPFamilyPolicy = &policy } } // SetNodePorts sets the values for each node port, in order. If less values // are specified than there are ports, the rest are untouched. func SetNodePorts(values ...int) Tweak { return func(svc *api.Service) { for i := range svc.Spec.Ports { if i >= len(values) { break } svc.Spec.Ports[i].NodePort = int32(values[i]) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:16:15 UTC 2023 - 7.1K bytes - Viewed (0) -
src/vendor/golang.org/x/text/unicode/bidi/prop.go
// always returns size==1 for an illegal UTF-8 byte (instead of the length // of the maximum invalid subsequence). Most Transformers, like unicode/norm, // leave invalid UTF-8 untouched, in which case it has performance benefits to // do so (without changing the semantics). Bidi requires the semantics used here // for the bidirule implementation to be compatible with the Go semantics.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 20:28:54 UTC 2019 - 5.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/cache/internal/VersionSpecificCacheCleanupActionTest.groovy
def cleanedUp = cleanupAction.execute(progressMonitor) then: cleanedUp getGcFile(currentCacheDir).assertExists() } def "does not clean up when gc.properties has been touched in the last 24 hours"() { given: def oldCacheDir = createVersionSpecificCacheDir(GradleVersion.version("2.3.4"), NOT_USED_WITHIN_30_DAYS) def gcFile = getGcFile(currentCacheDir).createFile().makeOlder()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 08 17:27:30 UTC 2022 - 7.8K bytes - Viewed (0)