Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for Omit (1.28 sec)

  1. tests/query_test.go

    		t.Fatal("expected errors to have occurred, but nothing happened")
    	}
    	if totalBatch != 0 {
    		t.Fatalf("incorrect total batch, expected: %v, got: %v", 0, totalBatch)
    	}
    
    	if result := DB.Omit("id").Where("name = ?", users[0].Name).FindInBatches(&results, 2, func(tx *gorm.DB, batch int) error {
    		totalBatch += batch
    		return nil
    	}); result.Error != gorm.ErrPrimaryKeyRequired {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  2. association.go

    		}
    	}
    
    	associationDB := association.DB.Session(&Session{}).Model(nil)
    	if !association.DB.FullSaveAssociations {
    		associationDB.Select(selectedSaveColumns)
    	}
    	if len(omitColumns) > 0 {
    		associationDB.Omit(omitColumns...)
    	}
    	associationDB = associationDB.Session(&Session{})
    
    	switch reflectValue.Kind() {
    	case reflect.Slice, reflect.Array:
    		if len(values) != reflectValue.Len() {
    			// clear old data
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu May 04 11:30:45 GMT 2023
    - 21.2K bytes
    - Viewed (0)
  3. internal/jwt/parser_test.go

    // This file is a re-implementation of the original code here with some
    // additional allocation tweaks reproduced using GODEBUG=allocfreetrace=1
    // original file https://github.com/golang-jwt/jwt/blob/main/parser.go
    // borrowed under MIT License https://github.com/golang-jwt/jwt/blob/main/LICENSE
    
    import (
    	"fmt"
    	"testing"
    	"time"
    
    	"github.com/golang-jwt/jwt/v4"
    )
    
    var (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 6K bytes
    - Viewed (0)
  4. internal/jwt/parser.go

    // This file is a re-implementation of the original code here with some
    // additional allocation tweaks reproduced using GODEBUG=allocfreetrace=1
    // original file https://github.com/golang-jwt/jwt/blob/main/parser.go
    // borrowed under MIT License https://github.com/golang-jwt/jwt/blob/main/LICENSE
    
    import (
    	"bytes"
    	"crypto"
    	"crypto/hmac"
    	"encoding/base64"
    	"errors"
    	"fmt"
    	"hash"
    	"sync"
    	"time"
    
    	"github.com/buger/jsonparser"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    	case *types.Interface:
    		w.emitIfaceType(name, typ)
    		return // methods are handled by emitIfaceType
    	default:
    		w.emitf("type %s %s", name, w.typeString(typ.Underlying()))
    	}
    
    	// emit methods with value receiver
    	var methodNames map[string]bool
    	vset := types.NewMethodSet(typ)
    	for i, n := 0, vset.Len(); i < n; i++ {
    		m := vset.At(i)
    		if m.Obj().Exported() {
    			w.emitMethod(m)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  6. istioctl/pkg/analyze/analyze.go

    				parts := strings.Split(s, "=")
    				if len(parts) != 2 {
    					return fmt.Errorf("%s is not a valid suppression value. See istioctl analyze --help", s)
    				}
    				// Check to see if the supplied code is valid. If not, emit a
    				// warning but continue.
    				codeIsValid := false
    				for _, at := range msg.All() {
    					if at.Code() == parts[0] {
    						codeIsValid = true
    						break
    					}
    				}
    
    				if !codeIsValid {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    		notStrLiteral
    		notDeclared
    	)
    	sawUnmatchedErrors := false
    	for _, line := range strings.Split(stderr, "\n") {
    		// Ignore warnings and random comments, with one
    		// exception: newer GCC versions will sometimes emit
    		// an error on a macro #define with a note referring
    		// to where the expansion occurs. We care about where
    		// the expansion occurs, so in that case treat the note
    		// as an error.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top