Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for xcode (0.13 sec)

  1. misc/ios/go_ios_exec.go

    // Copyright 2015 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.
    
    // This program can be used as go_ios_$GOARCH_exec by the Go tool.
    // It executes binaries on an iOS device using the XCode toolchain
    // and the ios-deploy program: https://github.com/phonegap/ios-deploy
    //
    // This script supports an extra flag, -lldb, that pauses execution
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  2. tests/hooks_test.go

    	DB.Model(&product).Select("Name", "Code", "Price").Updates(Product3{Name: "Product New4", Code: ""})
    	if product.Name != "Product New4" || product.Price != 320 || product.Code != "" {
    		t.Errorf("invalid data after update, got %+v", product)
    	}
    
    	DB.Model(&product).UpdateColumns(Product3{Code: "L1215"})
    	if product.Price != 320 || product.Code != "L1215" {
    		t.Errorf("invalid data after update, got %+v", product)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  3. tests/upsert_test.go

    	var langs []Language
    	if err := DB.Find(&langs, "code = ?", lang.Code).Error; err != nil {
    		t.Errorf("no error should happen when find languages with code, but got %v", err)
    	} else if len(langs) != 1 {
    		t.Errorf("should only find only 1 languages, but got %+v", langs)
    	}
    
    	lang3 := Language{Code: "upsert", Name: "Upsert"}
    	if err := DB.Clauses(clause.OnConflict{
    		Columns:   []clause.Column{{Name: "code"}},
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Sep 05 07:39:19 GMT 2022
    - 11.4K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle-handlers_test.go

    		}
    		if errorResponse.Code != testCase.errorResponse.Code {
    			t.Errorf("Test %d: %s: Expected the error code to be `%s`, but instead found `%s`", i+1, instanceType, testCase.errorResponse.Code, errorResponse.Code)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 13 20:52:33 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  5. cmd/signature-v4_test.go

    package cmd
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    	"net/url"
    	"os"
    	"testing"
    	"time"
    )
    
    func niceError(code APIErrorCode) string {
    	// Special-handle ErrNone
    	if code == ErrNone {
    		return "ErrNone"
    	}
    
    	return fmt.Sprintf("%s (%s)", errorCodes[code].Code, errorCodes[code].Description)
    }
    
    func TestDoesPolicySignatureMatch(t *testing.T) {
    	credentialTemplate := "%s/%s/%s/s3/aws4_request"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  6. cmd/batch-expire.go

    		return nil
    	}
    
    	if r.APIVersion != batchExpireAPIVersion {
    		return batchExpireJobError{
    			Code:           "InvalidArgument",
    			Description:    "Unsupported batch expire API version",
    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	}
    
    	if r.Bucket == "" {
    		return batchExpireJobError{
    			Code:           "InvalidArgument",
    			Description:    "Bucket argument missing",
    			HTTPStatusCode: http.StatusBadRequest,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  7. internal/dsync/dsync_test.go

    			RefreshCall:     testDrwMutexRefreshCallTimeout,
    			UnlockCall:      testDrwMutexUnlockCallTimeout,
    			ForceUnlockCall: testDrwMutexForceUnlockCallTimeout,
    		},
    	}
    
    	code := m.Run()
    	stopLockServers()
    	os.Exit(code)
    }
    
    func TestSimpleLock(t *testing.T) {
    	dm := NewDRWMutex(ds, "test")
    
    	dm.Lock(id, source)
    
    	// fmt.Println("Lock acquired, waiting...")
    	time.Sleep(testDrwMutexRefreshCallTimeout)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  8. internal/s3select/csv/reader_contrib_test.go

    			recordDelimiter: "\n",
    			fieldDelimiter:  ",",
    			header:          true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 38.5K bytes
    - Viewed (0)
  9. cmd/batch-rotate.go

    		batchLogIf(ctx, fmt.Errorf("unable to notify %v", err))
    	}
    
    	cancel()
    	return nil
    }
    
    //msgp:ignore batchKeyRotationJobError
    type batchKeyRotationJobError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    }
    
    func (e batchKeyRotationJobError) Error() string {
    	return e.Description
    }
    
    // Validate validates the job definition input
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  10. cmd/admin-heal-ops.go

    	errHealStopSignalled = fmt.Errorf("heal stop signaled")
    
    	errFnHealFromAPIErr = func(ctx context.Context, err error) error {
    		apiErr := toAdminAPIErr(ctx, err)
    		return fmt.Errorf("Heal internal error: %s: %s",
    			apiErr.Code, apiErr.Description)
    	}
    )
    
    // healSequenceStatus - accumulated status of the heal sequence
    type healSequenceStatus struct {
    	// summary and detail for failures
    	Summary       healStatusSummary `json:"Summary"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
Back to top