- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 600 for num1 (0.75 sec)
-
platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/sharing_build_logic_between_subprojects.adoc
open class MyCustomTask : DefaultTask() { @TaskAction fun calculateSum() { // Custom logic to calculate the sum of two numbers val num1 = 5 val num2 = 7 val sum = num1 + num2 // Print the result println("Sum: $sum") } } ---- ===== [.multi-language-sample] ===== .MyCustomTask.groovy [source, groovy] ----
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 12:58:46 UTC 2024 - 11.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/conversion_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 05:32:34 UTC 2023 - 47.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go
// Check if int is preserved. unstructuredObj := gottenNoxuInstance.(*unstructured.Unstructured).Object num := unstructuredObj["num"].(map[string]interface{}) num1 := num["num1"].(int64) num2 := num["num2"].(int64) if num1 != 9223372036854775807 || num2 != 1000000 { t.Errorf("Expected %v, got %v, %v", `9223372036854775807, 1000000`, num1, num2) } } func TestPatch(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 11:35:33 UTC 2024 - 33.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go
"num2": 2000, }, }}, expectError{applyPatchOperation{ "update field num1 to different invalid value", myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{ "nums": map[string]interface{}{ "num1": 2, "num2": 2000, }, }}}, }, }, { Name: "MinProperties MaxProperties", Operations: []ratchetingTestOperation{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 59.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/resources.go
"metadata": map[string]interface{}{ "namespace": namespace, "name": name, }, "content": map[string]interface{}{ "key": "value", }, "num": map[string]interface{}{ "num1": noxuInstanceNum, "num2": 1000000, }, }, } } // NewNoxuInstance returns a WishIHadChosenNoxu instance for v1beta1. func NewNoxuInstance(namespace, name string) *unstructured.Unstructured {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 19 02:01:40 UTC 2021 - 21.4K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
} // Parsing the numbers num1, err := strconv.ParseUint(parts[2], 10, 32) if err != nil { return 0, 0, fmt.Errorf("error parsing line %q: %w", input, err) } num2, err := strconv.ParseUint(parts[3], 10, 32) if err != nil { return 0, 0, fmt.Errorf("error parsing line %q: %w", input, err) } return uint32(num1), uint32(num2), nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
test/nul1.go
Matthew Dempsky <******@****.***> 1471390385 -0700
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 22:28:40 UTC 2016 - 1.2K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
} static BigInteger listProduct(List<BigInteger> nums) { return listProduct(nums, 0, nums.size()); } static BigInteger listProduct(List<BigInteger> nums, int start, int end) { switch (end - start) { case 0: return BigInteger.ONE; case 1: return nums.get(start); case 2: return nums.get(start).multiply(nums.get(start + 1)); case 3:
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 18.9K bytes - Viewed (0) -
android/guava/src/com/google/common/math/BigIntegerMath.java
} static BigInteger listProduct(List<BigInteger> nums) { return listProduct(nums, 0, nums.size()); } static BigInteger listProduct(List<BigInteger> nums, int start, int end) { switch (end - start) { case 0: return BigInteger.ONE; case 1: return nums.get(start); case 2: return nums.get(start).multiply(nums.get(start + 1)); case 3:
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 07 17:50:39 UTC 2024 - 18.9K bytes - Viewed (0) -
src/main/resources/fess_indices/fess/pt/stopwords.txt
quando muito nos já eu também só pelo pela até isso ela entre depois sem mesmo aos seus quem nas me esse eles você essa num nem suas meu às minha numa pelos elas qual nós lhe deles essas esses pelas este dele tu te vocês vos lhes meus minhas teu tua teus tuas nosso nossa
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Nov 27 12:59:36 UTC 2023 - 1.4K bytes - Viewed (0)