Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 62 for restful (0.44 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/resource/interfaces.go

    type ClientConfigFunc func() (*rest.Config, error)
    type RESTMapperFunc func() (meta.RESTMapper, error)
    type CategoryExpanderFunc func() (restmapper.CategoryExpander, error)
    
    // RESTClient is a client helper for dealing with RESTful resources
    // in a generic way.
    type RESTClient interface {
    	Get() *rest.Request
    	Post() *rest.Request
    	Patch(types.PatchType) *rest.Request
    	Delete() *rest.Request
    	Put() *rest.Request
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 23:00:24 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/httplog/httplog.go

    // Add a layer on top of ResponseWriter, so we can track latency and error
    // message sources.
    //
    // TODO now that we're using go-restful, we shouldn't need to be wrapping
    // the http.ResponseWriter. We can recover panics from go-restful, and
    // the logging value is questionable.
    type respLogger struct {
    	hijacked       bool
    	statusRecorded bool
    	status         int
    	statusStack    string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 10:10:35 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/meta/interfaces.go

    type RESTScope interface {
    	// Name of the scope
    	Name() RESTScopeName
    }
    
    // RESTMapping contains the information needed to deal with objects of a specific
    // resource and kind in a RESTful manner.
    type RESTMapping struct {
    	// Resource is the GroupVersionResource (location) for this endpoint
    	Resource schema.GroupVersionResource
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/go.mod

    go 1.22.0
    
    require (
    	github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a
    	github.com/coreos/go-oidc v2.2.1+incompatible
    	github.com/coreos/go-systemd/v22 v22.5.0
    	github.com/emicklei/go-restful/v3 v3.11.0
    	github.com/fsnotify/fsnotify v1.7.0
    	github.com/gogo/protobuf v1.3.2
    	github.com/google/cel-go v0.20.1
    	github.com/google/gnostic-models v0.6.8
    	github.com/google/go-cmp v0.6.0
    	github.com/google/gofuzz v1.2.0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/go.mod

    // This is a generated file. Do not edit directly.
    
    module k8s.io/apiextensions-apiserver
    
    go 1.22.0
    
    require (
    	github.com/emicklei/go-restful/v3 v3.11.0
    	github.com/gogo/protobuf v1.3.2
    	github.com/google/cel-go v0.20.1
    	github.com/google/gnostic-models v0.6.8
    	github.com/google/go-cmp v0.6.0
    	github.com/google/gofuzz v1.2.0
    	github.com/google/uuid v1.3.1
    	github.com/spf13/cobra v1.8.0
    	github.com/spf13/pflag v1.0.5
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  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