Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,660 for recur2 (0.09 sec)

  1. src/bufio/bufio_test.go

    	w.Reset(&buf4)
    	w2 := NewWriter(w)
    	w2.WriteString("recur")
    	w2.Flush()
    	if buf4.String() != "recur" {
    		t.Errorf("buf4 = %q, want %q", buf4.String(), "recur")
    	}
    	w.Reset(&buf5)
    	w2.Reset(w)
    	w2.WriteString("recur2")
    	w2.Flush()
    	if buf5.String() != "recur2" {
    		t.Errorf("buf5 = %q, want %q", buf5.String(), "recur2")
    	}
    }
    
    func TestReaderDiscard(t *testing.T) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. internal/s3select/csv/record.go

    				// If field index > number of columns, return null
    				return sql.FromNull(), nil
    			}
    			return sql.FromBytes([]byte(r.csvRecord[idx])), nil
    		}
    		// TODO: Return Missing?
    		return nil, fmt.Errorf("column %v not found", name)
    	}
    
    	if index >= int64(len(r.csvRecord)) {
    		// No value found for column 'name', hence return null
    		// value
    		return sql.FromNull(), nil
    	}
    
    	return sql.FromBytes([]byte(r.csvRecord[index])), nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. internal/s3select/simdj/record.go

    }
    
    // Reset the record.
    func (r *Record) Reset() {
    	r.object = simdjson.Object{}
    }
    
    // Clone the record and if possible use the destination provided.
    func (r *Record) Clone(dst sql.Record) sql.Record {
    	other, ok := dst.(*Record)
    	if !ok {
    		other = &Record{}
    	}
    	other.object = r.object
    	return other
    }
    
    // CloneTo clones the record to a json Record.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. internal/s3select/json/record.go

    func (r *Record) Reset() {
    	if len(r.KVS) > 0 {
    		r.KVS = r.KVS[:0]
    	}
    }
    
    // Clone the record and if possible use the destination provided.
    func (r *Record) Clone(dst sql.Record) sql.Record {
    	other, ok := dst.(*Record)
    	if !ok {
    		other = &Record{}
    	}
    	if len(other.KVS) > 0 {
    		other.KVS = other.KVS[:0]
    	}
    	other.KVS = append(other.KVS, r.KVS...)
    	return other
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. tests/transaction_test.go

    			t.Fatalf("Should find saved record")
    		}
    		return nil
    	}); err != nil {
    		t.Fatalf("no error should return, but got %v", err)
    	}
    
    	if err := DB.First(&User{}, "name = ?", user.Name).Error; err != nil {
    		t.Fatalf("Should find saved record")
    	}
    
    	if err := DB.First(&User{}, "name = ?", user1.Name).Error; err == nil {
    		t.Fatalf("Should not find rollbacked record")
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  6. internal/config/dns/etcd_dns.go

    		if err != nil {
    			return nil, err
    		}
    		// Make sure we have record.Key is empty
    		// this can only happen when record.Key
    		// has bucket entry with exact prefix
    		// match any record.Key which do not
    		// match the prefixes we skip them.
    		for _, record := range records {
    			if record.Key != "" {
    				continue
    			}
    			srvRecords = append(srvRecords, record)
    		}
    	}
    	if len(srvRecords) == 0 {
    		return nil, ErrNoEntriesFound
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. cmd/utils.go

    			return ioutilx.ReadFile(fn)
    		}
    	default:
    		return nil, errors.New("profiler type unknown")
    	}
    
    	return prof, nil
    }
    
    // minioProfiler - minio profiler interface.
    type minioProfiler interface {
    	// Return recorded profiles, each profile associated with a distinct generic name.
    	Records() map[string][]byte
    	// Stop the profiler
    	Stop() ([]byte, error)
    	// Return extension of profile
    	Extension() string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  8. cmd/bucket-replication-stats.go

    	Endpoint         string
    	Secure           bool
    	Err              error
    }
    
    func (rs *replStat) endpoint() string {
    	scheme := "http"
    	if rs.Secure {
    		scheme = "https"
    	}
    	return scheme + "://" + rs.Endpoint
    }
    
    func (rs *replStat) set(arn string, n int64, duration time.Duration, status replication.StatusType, opType replication.Type, endpoint string, secure bool, err error) {
    	rs.Endpoint = endpoint
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. internal/s3select/sql/evaluate.go

    		if err != nil {
    			return nil, err
    		}
    		return FromBytes(bs), nil
    	case []Value:
    		return FromArray(rval), nil
    	case nil:
    		return FromNull(), nil
    	case Missing:
    		return FromMissing(), nil
    	}
    	return nil, fmt.Errorf("Unhandled value type: %T", result)
    }
    
    func (e *PrimaryTerm) evalNode(r Record, tableAlias string) (res *Value, err error) {
    	switch {
    	case e.Value != nil:
    		return e.Value.evalNode(r)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Striped64.java

       * to Unsafe.getUnsafe when integrating into a jdk.
       *
       * @return a sun.misc.Unsafe
       */
      private static Unsafe getUnsafe() {
        try {
          return Unsafe.getUnsafe();
        } catch (SecurityException tryReflectionInstead) {
        }
        try {
          return AccessController.doPrivileged(
              new PrivilegedExceptionAction<Unsafe>() {
                @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top