Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 131 for restful (0.33 sec)

  1. test/fixedbugs/issue66066.go

    	}
    
    }
    
    //go:noinline
    func mul3(a uint32) uint64 {
    	return uint64(a * 3)
    }
    
    func testMul() {
    	got := mul3(1<<32 - 1)
    	want := uint64((1<<32-1)*3 - 2<<32)
    	if got != want {
    		fmt.Printf("testMul: got %x want %x\n", got, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 677 bytes
    - Viewed (0)
  2. test/strength.go

    	}
    
    	fmt.Printf("}\n")
    	return fmt.Sprintf("%s(%d)", n, fact)
    }
    
    func main() {
    	fmt.Printf("package main\n")
    	fmt.Printf("import \"fmt\"\n")
    	fmt.Printf("var failed = false\n")
    
    	f1 := testMul(17, 32)
    	f2 := testMul(131, 64)
    
    	fmt.Printf("func main() {\n")
    	fmt.Println(f1)
    	fmt.Println(f2)
    	fmt.Printf("if failed {\n	panic(\"multiplication failed\")\n}\n")
    	fmt.Printf("}\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 08 17:28:20 UTC 2019
    - 1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

    limitations under the License.
    */
    
    package v1
    
    // This file contains a collection of methods that can be used from go-restful to
    // generate Swagger API documentation for its models. Please read this PR for more
    // information on the implementation: https://github.com/emicklei/go-restful/pull/215
    //
    // TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 254.8K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.5.md

        * This more closely aligns rest client as a generic RESTful client, while preserving the special Kube API extended error handling for the `Get` and `Into` methods (which most Kube clients use).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 136.4K bytes
    - Viewed (1)
  5. src/cmd/go/testdata/script/devnull.txt

    # Issue 12407: go build -o /dev/null should succeed.
    cd ..
    go build -o $devnull y
    cmp $devnull $WORK/empty.txt
    
    -- x/x_test.go --
    package x_test
    import (
        "testing"
    )
    func TestNUL(t *testing.T) {
    }
    -- y/y.go --
    package y
    func main() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 18 19:03:27 UTC 2019
    - 525 bytes
    - Viewed (0)
  6. src/math/bits/bits_test.go

    		{_M32, _M32, _M32 - 1, 1, 42},
    	} {
    		testMul("Mul32", Mul32, a.x, a.y, a.hi, a.lo)
    		testMul("Mul32 symmetric", Mul32, a.y, a.x, a.hi, a.lo)
    		testDiv("Div32", Div32, a.hi, a.lo+a.r, a.y, a.x, a.r)
    		testDiv("Div32 symmetric", Div32, a.hi, a.lo+a.r, a.x, a.y, a.r)
    	}
    }
    
    func TestMulDiv64(t *testing.T) {
    	testMul := func(msg string, f func(x, y uint64) (hi, lo uint64), x, y, hi, lo uint64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 22 20:11:06 UTC 2020
    - 32.5K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.16.md

    - github.com/docker/distribution: [edc3ab2 → v2.7.1+incompatible](https://github.com/docker/distribution/compare/edc3ab2...v2.7.1)
    - github.com/emicklei/go-restful: [ff4f55a → v2.9.5+incompatible](https://github.com/emicklei/go-restful/compare/ff4f55a...v2.9.5)
    - github.com/evanphx/json-patch: [5858425 → v4.2.0+incompatible](https://github.com/evanphx/json-patch/compare/5858425...v4.2.0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 11 10:00:57 UTC 2021
    - 345.2K bytes
    - Viewed (0)
  8. pkg/controller/daemon/util/daemonset_util_test.go

    				featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, fg, f)
    				t.Run(fmt.Sprintf("%v (%t)", fg, f), tf)
    			}()
    		}
    	}
    }
    
    func TestGetTargetNodeName(t *testing.T) {
    	testFun := func(t *testing.T) {
    		tests := []struct {
    			pod         *v1.Pod
    			nodeName    string
    			expectedErr bool
    		}{
    			{
    				pod: &v1.Pod{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:      "pod1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/gradient_checker_test.cc

      ASSERT_NO_FATAL_FAILURE(CompareNumericalAndManualGradients(
          MatMulModel, ctx_.get(), {A.get(), B.get()}, 0, expected_dA, 4,
          UseFunction()));
    }
    
    TEST_P(GradientCheckerTest, TestMul) {
      AbstractTensorHandlePtr x;
      {
        AbstractTensorHandle* x_raw = nullptr;
        Status s =
            TestScalarTensorHandle<float, TF_FLOAT>(ctx_.get(), 2.0f, &x_raw);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 10:03:59 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        assertCrc(0x8a9136aa, zeros);
      }
    
      public void testZeros100() {
        // Test 100 byte array of 0x00.
        byte[] zeros = new byte[100];
        assertCrc(0x07cb9ff6, zeros);
      }
    
      public void testFull() {
        // Test 32 byte array of 0xFF.
        byte[] fulls = new byte[32];
        Arrays.fill(fulls, (byte) 0xFF);
        assertCrc(0x62a8ab43, fulls);
      }
    
      public void testFull100() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 23 18:30:33 UTC 2020
    - 6.5K bytes
    - Viewed (0)
Back to top