Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for FC (0.13 sec)

  1. callbacks/callmethod.go

    package callbacks
    
    import (
    	"reflect"
    
    	"gorm.io/gorm"
    )
    
    func callMethod(db *gorm.DB, fc func(value interface{}, tx *gorm.DB) bool) {
    	tx := db.Session(&gorm.Session{NewDB: true})
    	if called := fc(db.Statement.ReflectValue.Interface(), tx); !called {
    		switch db.Statement.ReflectValue.Kind() {
    		case reflect.Slice, reflect.Array:
    			db.Statement.CurDestIndex = 0
    			for i := 0; i < db.Statement.ReflectValue.Len(); i++ {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 846 bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/connection/InetAddressOrderTest.kt

      val ipv6_ab = Inet6Address.getByName("::ac")
      val ipv6_fc = Inet6Address.getByName("::fc")
    
      @Test fun prioritiseIpv6Example() {
        val result =
          reorderForHappyEyeballs(
            listOf(
              ipv4_10_0_0_6,
              ipv4_10_0_0_1,
              ipv4_10_0_0_4,
              ipv6_ab,
              ipv6_fc,
            ),
          )
    
        assertThat(result).isEqualTo(
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  3. logger/logger.go

    //
    //nolint:cyclop
    func (l *logger) Trace(ctx context.Context, begin time.Time, fc func() (string, int64), err error) {
    	if l.LogLevel <= Silent {
    		return
    	}
    
    	elapsed := time.Since(begin)
    	switch {
    	case err != nil && l.LogLevel >= Error && (!errors.Is(err, ErrRecordNotFound) || !l.IgnoreRecordNotFoundError):
    		sql, rows := fc()
    		if rows == -1 {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Nov 07 02:19:41 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. tests/tracer_test.go

    func (S Tracer) Error(ctx context.Context, s string, i ...interface{}) {
    	S.Logger.Error(ctx, s, i...)
    }
    
    func (S Tracer) Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) {
    	S.Logger.Trace(ctx, begin, fc, err)
    	S.Test(ctx, begin, fc, err)
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Oct 18 09:28:06 GMT 2022
    - 830 bytes
    - Viewed (0)
  5. schema/schema.go

    			fieldInterface := fieldValue.Interface()
    			if fc, ok := fieldInterface.(CreateClausesInterface); ok {
    				field.Schema.CreateClauses = append(field.Schema.CreateClauses, fc.CreateClauses(field)...)
    			}
    
    			if fc, ok := fieldInterface.(QueryClausesInterface); ok {
    				field.Schema.QueryClauses = append(field.Schema.QueryClauses, fc.QueryClauses(field)...)
    			}
    
    			if fc, ok := fieldInterface.(UpdateClausesInterface); ok {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Oct 10 06:50:29 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

                }
            }
        }
    
        private List<JApiCmpWorkerAction.Archive> inferArchives(FileCollection fc) {
            if (fc instanceof Configuration) {
                final List<JApiCmpWorkerAction.Archive> archives = new ArrayList<>();
                Set<ResolvedDependency> firstLevelModuleDependencies = ((Configuration) fc).getResolvedConfiguration().getFirstLevelModuleDependencies();
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Apr 26 10:58:32 GMT 2023
    - 13.3K bytes
    - Viewed (0)
  7. istioctl/pkg/authz/listener.go

    }
    
    func parse(listeners []*listener.Listener) []*parsedListener {
    	var parsedListeners []*parsedListener
    	for _, l := range listeners {
    		parsed := &parsedListener{}
    		for _, fc := range l.FilterChains {
    			parsedFC := &filterChain{}
    			for _, filter := range fc.Filters {
    				switch filter.Name {
    				case wellknown.HTTPConnectionManager, "envoy.http_connection_manager":
    					if cm := getHTTPConnectionManager(filter); cm != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  8. finisher_api.go

    	}
    
    	defer conn.Close()
    	tx.Statement.ConnPool = conn
    	return fc(tx)
    }
    
    // Transaction start a transaction as a block, return error will rollback, otherwise to commit. Transaction executes an
    // arbitrary number of commands in fc within a transaction. On success the changes are committed; if an error occurs
    // they are rolled back.
    func (db *DB) Transaction(fc func(tx *DB) error, opts ...*sql.TxOptions) (err error) {
    	panicked := true
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  9. istioctl/pkg/wait/wait_test.go

    			})
    			k, err := cl.CLIClient()
    			if err != nil {
    				t.Fatal(err)
    			}
    			fc := k.Dynamic().(*dynamicfake.FakeDynamicClient)
    			fc.PrependWatchReactor("*", func(action clienttesting.Action) (handled bool, ret watch.Interface, err error) {
    				gvr := action.GetResource()
    				ns := action.GetNamespace()
    				watch, err := fc.Tracker().Watch(gvr, ns)
    				if err != nil {
    					return false, nil, err
    				}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/listener.go

    			lname = "internal"
    		}
    		for _, fc := range chains {
    
    			name := fc.GetName()
    			matches := newMatcher(fc, l)
    			destination := getFilterType(fc.GetFilters())
    			for _, match := range matches {
    				fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", lname, name, match, destination)
    			}
    		}
    	}
    	return w.Flush()
    }
    
    func newMatcher(fc *listener.FilterChain, l *listener.Listener) []string {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
Back to top