Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 384 for COde (0.37 sec)

  1. cmd/sts-errors.go

    }
    
    // STSError structure
    type STSError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    }
    
    // STSErrorResponse - error response format
    type STSErrorResponse struct {
    	XMLName xml.Name `xml:"https://sts.amazonaws.com/doc/2011-06-15/ ErrorResponse" json:"-"`
    	Error   struct {
    		Type    string `xml:"Type"`
    		Code    string `xml:"Code"`
    		Message string `xml:"Message"`
    	} `xml:"Error"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. internal/s3select/parquet/errors.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package parquet
    
    type s3Error struct {
    	code       string
    	message    string
    	statusCode int
    	cause      error
    }
    
    func (err *s3Error) Cause() error {
    	return err.cause
    }
    
    func (err *s3Error) ErrorCode() string {
    	return err.code
    }
    
    func (err *s3Error) ErrorMessage() string {
    	return err.message
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  3. internal/dsync/lock-args.go

    	// on the client node that requested the lock.
    	Source string
    
    	// Owner represents unique ID for this instance, an owner who originally requested
    	// the locked resource, useful primarily in figuring out stale locks.
    	Owner string
    
    	// Quorum represents the expected quorum for this lock type.
    	Quorum int
    }
    
    // ResponseCode is the response code for a locking request.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 04:34:26 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/endtoend_test.go

    		if p.Link != nil {
    			size = p.Link.Pc - p.Pc
    		} else if p.Isize != 0 {
    			size = int64(p.Isize)
    		}
    		var code []byte
    		if p.Pc < int64(len(text.P)) {
    			code = text.P[p.Pc:]
    			if size < int64(len(code)) {
    				code = code[:size]
    			}
    		}
    		codeHex := fmt.Sprintf("%x", code)
    		if codeHex == "" {
    			codeHex = "empty"
    		}
    		ok := false
    		for _, hex := range strings.Split(hexes, " or ") {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue27340/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Failed to resolve typedefs consistently.
    // No runtime test; just make sure it compiles.
    // In separate directory to isolate #pragma GCC diagnostic.
    
    package issue27340
    
    // We use the #pragma to avoid a compiler warning about incompatible
    // pointer types, because we generate code passing a struct ptr rather
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  6. cmd/post-policy_test.go

    		apiRouter.ServeHTTP(rec, req)
    		if rec.Code != testCase.expectedRespStatus {
    			t.Errorf("Test %d: %s: Expected the response status to be `%d`, but instead found `%d`", i+1, instanceType, testCase.expectedRespStatus, rec.Code)
    		}
    		// When the operation is successful, check if sending metadata is successful too
    		if rec.Code == http.StatusNoContent {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  7. cmd/data-usage.go

    	// For forward compatibility reasons, we need to add this code.
    	if len(dataUsageInfo.BucketsUsage) == 0 {
    		dataUsageInfo.BucketsUsage = make(map[string]BucketUsageInfo, len(dataUsageInfo.BucketSizes))
    		for bucket, size := range dataUsageInfo.BucketSizes {
    			dataUsageInfo.BucketsUsage[bucket] = BucketUsageInfo{Size: size}
    		}
    	}
    
    	// For backward compatibility reasons, we need to add this code.
    	if len(dataUsageInfo.BucketSizes) == 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. src/archive/zip/example_test.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package zip_test
    
    import (
    	"archive/zip"
    	"bytes"
    	"compress/flate"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func ExampleWriter() {
    	// Create a buffer to write our archive to.
    	buf := new(bytes.Buffer)
    
    	// Create a new zip archive.
    	w := zip.NewWriter(buf)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 27 00:22:03 GMT 2016
    - 2K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue26743/a.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package issue26743
    
    // typedef unsigned int uint;
    // int C1(uint x) { return x; }
    import "C"
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 271 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/cgo_stubs_android_test.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cgotest
    
    import "testing"
    
    // Stubs for tests that fails to build on Android
    func test6997(t *testing.T)        {}
    func test8694(t *testing.T)        {}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 359 bytes
    - Viewed (0)
Back to top