- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 109 for newBar (0.19 sec)
-
src/cmd/compile/internal/inline/inlheur/testdata/props/returns2.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:01 UTC 2023 - 5.7K bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/plugins/PluginBuildsIntegrationTest.groovy
} dependencies { implementation("${build.group}:${build.buildName}") } """ file("src/main/java/Foo.java") << """ class Foo { Bar newBar() { return new Bar(); }} """ then: succeeds("build") executed(":${build.buildName}:compileJava") executed(":compileJava") build.assertProjectPluginApplied()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 06 08:15:28 UTC 2023 - 18.4K bytes - Viewed (0) -
test/escape2.go
*xxx = &y } func foo19(y int) { **xxx = y } type Bar struct { i int ii *int } func NewBar() *Bar { return &Bar{42, nil} // ERROR "&Bar{...} escapes to heap$" } func NewBarp(x *int) *Bar { // ERROR "leaking param: x$" return &Bar{42, x} // ERROR "&Bar{...} escapes to heap$" } func NewBarp2(x *int) *Bar { // ERROR "x does not escape$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0) -
test/escape2n.go
*xxx = &y } func foo19(y int) { **xxx = y } type Bar struct { i int ii *int } func NewBar() *Bar { return &Bar{42, nil} // ERROR "&Bar{...} escapes to heap$" } func NewBarp(x *int) *Bar { // ERROR "leaking param: x$" return &Bar{42, x} // ERROR "&Bar{...} escapes to heap$" } func NewBarp2(x *int) *Bar { // ERROR "x does not escape$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0) -
pkg/apis/certificates/v1beta1/defaults_test.go
"defaults for kubelet-serving": { req: newCSR(kubeletServerPEMOptions), usages: kubeletServerUsages, exp: true, }, "defaults without key encipherment for kubelet-serving": { req: newCSR(kubeletServerPEMOptions), usages: kubeletServerUsagesNoRSA, exp: true, }, "does not default to kube-apiserver-client-kubelet if org is not 'system:nodes'": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 27 08:04:25 UTC 2022 - 16.9K bytes - Viewed (0) -
pkg/registry/certificates/certificates/strategy.go
newCSR := obj.(*certificates.CertificateSigningRequest) oldCSR := old.(*certificates.CertificateSigningRequest) populateConditionTimestamps(newCSR, oldCSR) newConditions := newCSR.Status.Conditions // Updating the approval should only update the conditions. newCSR.Spec = oldCSR.Spec newCSR.Status = oldCSR.Status newCSR.Status.Conditions = newConditions }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 18 21:41:43 UTC 2022 - 11.4K bytes - Viewed (0) -
src/runtime/slice.go
// gives a smooth-ish transition between the two. newcap += (newcap + 3*threshold) >> 2 // We need to check `newcap >= newLen` and whether `newcap` overflowed. // newLen is guaranteed to be larger than zero, hence // when newcap overflows then `uint(newcap) > uint(newLen)`. // This allows to check for both with the same comparison. if uint(newcap) >= uint(newLen) { break } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc
arg_type = quantize_output.getType(); new_arg = block.addArgument(arg_type, loc); quantize_output.replaceAllUsesWith(new_arg); } else if (input_type.isUnsignedInteger( current_type.getIntOrFloatBitWidth())) { // int8 != uint8 arg_type = quant::ConvertSignedQuantizedToUnsigned( quantize_output.getType(), loc); new_arg = block.addArgument(arg_type, loc);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
checkState(newMap instanceof MapMakerInternalMap); newMap.putAll(map); return newMap; } }, MapMakerWeakKeysStrongValues { @Override public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) { ConcurrentMap<K, V> newMap = new MapMaker().weakKeys().makeMap();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Mar 04 04:06:35 UTC 2022 - 12.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/lastappliedmanager.go
newLiveObj, newManaged, newErr := f.fieldManager.Apply(liveObj, newObj, managed, manager, force) // Upgrade the client-side apply annotation only from kubectl server-side-apply. // To opt-out of this behavior, users may specify a different field manager. if manager != "kubectl" { return newLiveObj, newManaged, newErr } // Check if we have conflicts if newErr == nil { return newLiveObj, newManaged, newErr }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 5.9K bytes - Viewed (0)