Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,392 for case1 (0.03 sec)

  1. callbacks/preload.go

    	switch reflectValue.Kind() {
    	case reflect.Struct:
    		switch rel.Type {
    		case schema.HasMany, schema.Many2Many:
    			tx.AddError(rel.Field.Set(tx.Statement.Context, reflectValue, reflect.MakeSlice(rel.Field.IndirectFieldType, 0, 10).Interface()))
    		default:
    			tx.AddError(rel.Field.Set(tx.Statement.Context, reflectValue, reflect.New(rel.Field.FieldType).Interface()))
    		}
    	case reflect.Slice, reflect.Array:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. cmd/tier-last-day-stats_gen.go

    			return
    		}
    		for zb0005 > 0 {
    			zb0005--
    			field, err = dc.ReadMapKeyPtr()
    			if err != nil {
    				err = msgp.WrapError(err, zb0001)
    				return
    			}
    			switch msgp.UnsafeString(field) {
    			case "Bins":
    				var zb0006 uint32
    				zb0006, err = dc.ReadArrayHeader()
    				if err != nil {
    					err = msgp.WrapError(err, zb0001, "Bins")
    					return
    				}
    				if zb0006 != uint32(24) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. internal/s3select/sql/statement.go

    	}
    	switch rec := rawVal.(type) {
    	case jstream.KVS:
    		txedRec, _, err := jsonpathEval(e.selectAST.From.Table.PathExpr[1:], rec)
    		if err != nil {
    			return nil, err
    		}
    
    		var kvs jstream.KVS
    		switch v := txedRec.(type) {
    		case jstream.KVS:
    			kvs = v
    
    		case []interface{}:
    			recs := make([]*Record, len(v))
    			for i, val := range v {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. cmd/site-replication-utils.go

    				sm.Unlock()
    			}
    			sTimer.Reset(siteResyncSaveInterval)
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    // update overall site resync state
    func (sm *siteResyncMetrics) updateState(s SiteResyncStatus) error {
    	if !globalSiteReplicationSys.isEnabled() {
    		return nil
    	}
    	sm.Lock()
    	defer sm.Unlock()
    	switch s.Status {
    	case ResyncStarted:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

            switch ( resp.getErrorCode() ) {
            case NtStatus.NT_STATUS_OK:
                cont = true;
                break;
            case NtStatus.NT_STATUS_ACCESS_DENIED:
            case NtStatus.NT_STATUS_WRONG_PASSWORD:
            case NtStatus.NT_STATUS_LOGON_FAILURE:
            case NtStatus.NT_STATUS_ACCOUNT_RESTRICTION:
            case NtStatus.NT_STATUS_INVALID_LOGON_HOURS:
            case NtStatus.NT_STATUS_INVALID_WORKSTATION:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Stopwatch.java

        switch (unit) {
          case NANOSECONDS:
            return "ns";
          case MICROSECONDS:
            return "\u03bcs"; // μs
          case MILLISECONDS:
            return "ms";
          case SECONDS:
            return "s";
          case MINUTES:
            return "min";
          case HOURS:
            return "h";
          case DAYS:
            return "d";
        }
        throw new AssertionError();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. internal/logger/target/testlogger/testlogger.go

    		tbb := *tb
    		tbb.Helper()
    		switch t.action.Load() {
    		case errorMessage:
    			logf = tbb.Errorf
    		case fatalMessage:
    			logf = tbb.Fatalf
    		default:
    			logf = tbb.Logf
    		}
    	} else {
    		switch t.action.Load() {
    		case errorMessage:
    			logf = func(format string, args ...any) {
    				fmt.Fprintf(os.Stderr, format+"\n", args...)
    			}
    		case fatalMessage:
    			logf = func(format string, args ...any) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

              private int rep;
    
              @Override
              public @Nullable Integer computeNext() {
                switch (rep++) {
                  case 0:
                    return 0;
                  case 1:
                    return 1;
                  case 2:
                    return endOfData();
                  default:
                    throw new AssertionError("Should not have been invoked again");
                }
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

              private int rep;
    
              @Override
              public @Nullable Integer computeNext() {
                switch (rep++) {
                  case 0:
                    return 0;
                  case 1:
                    return 1;
                  case 2:
                    return endOfData();
                  default:
                    throw new AssertionError("Should not have been invoked again");
                }
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. internal/s3select/json/record.go

    	for _, kv := range r.KVS {
    		var columnValue string
    		switch val := kv.Value.(type) {
    		case float64:
    			columnValue = jsonFloat(val)
    		case string:
    			columnValue = val
    		case bool, int64:
    			columnValue = fmt.Sprintf("%v", val)
    		case nil:
    			columnValue = ""
    		case RawJSON:
    			columnValue = string([]byte(val))
    		case []interface{}:
    			b, err := json.Marshal(val)
    			if err != nil {
    				return err
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top