Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for idx_name (0.05 seconds)

  1. schema/index_test.go

    		{
    			Name:   "idx_user_indices_name",
    			Fields: []schema.IndexOption{{Field: &schema.Field{Name: "Name"}}},
    		},
    		{
    			Name:   "idx_name",
    			Class:  "UNIQUE",
    			Fields: []schema.IndexOption{{Field: &schema.Field{Name: "Name2", UniqueIndex: "idx_name"}}},
    		},
    		{
    			Name:  "idx_user_indices_name3",
    			Type:  "btree",
    			Where: "name3 != 'jinzhu'",
    			Fields: []schema.IndexOption{{
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Dec 06 02:27:44 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  2. tests/migrate_test.go

    	DB.Migrator().DropTable(&UserWithUniqueIndex{})
    	if err := DB.AutoMigrate(&UserWithUniqueIndex{}); err != nil {
    		t.Fatalf("failed to migrate, got %v", err)
    	}
    
    	if !DB.Migrator().HasIndex(&UserWithUniqueIndex{}, "idx_name") {
    		t.Errorf("Failed to find created index")
    	}
    
    	if !DB.Migrator().HasIndex(&UserWithUniqueIndex{}, "idx_user_with_unique_indices_u_name") {
    		t.Errorf("Failed to find created index")
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 66.3K bytes
    - Click Count (0)
  3. schema/naming_test.go

    	ns := NamingStrategy{
    		TablePrefix:   "public.",
    		SingularTable: true,
    		NameReplacer:  strings.NewReplacer("CID", "Cid"),
    	}
    	idxName := ns.IndexName("public.table", "name")
    
    	if idxName != "idx_public_table_name" {
    		t.Errorf("invalid index name generated, got %v", idxName)
    	}
    
    	chkName := ns.CheckerName("public.table", "name")
    	if chkName != "chk_public_table_name" {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue May 30 02:00:48 GMT 2023
    - 7K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                        } else {
                            String idName = result.group(2);
                            if (idName.isEmpty()) {
                                errorsForFile.add(new Error(lineNumber, line, "Missing section reference for link to " + fileName));
                            } else {
                                if (!fileContainsText(referencedFile, "[[" + idName + "]]")) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 23:22:57 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/FileNotifyInformationTest.java

            void testFileNotifyChangeName() {
                assertEquals(0x00000003, FileNotifyInformation.FILE_NOTIFY_CHANGE_NAME);
                // Verify it's a combination of FILE_NAME and DIR_NAME
                assertEquals(FileNotifyInformation.FILE_NOTIFY_CHANGE_FILE_NAME | FileNotifyInformation.FILE_NOTIFY_CHANGE_DIR_NAME,
                        FileNotifyInformation.FILE_NOTIFY_CHANGE_NAME);
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  6. utils/utils_test.go

    	"database/sql/driver"
    	"errors"
    	"fmt"
    	"math"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestIsInvalidDBNameChar(t *testing.T) {
    	for _, db := range []string{"db", "dbName", "db_name", "db1", "1dbname", "db$name"} {
    		if fields := strings.FieldsFunc(db, IsInvalidDBNameChar); len(fields) != 1 {
    			t.Fatalf("failed to parse db name %v", db)
    		}
    	}
    }
    
    func TestCheckTruth(t *testing.T) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:31:30 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

     */
    public class CoordinatorHelper {
    
        private static final Logger logger = LogManager.getLogger(CoordinatorHelper.class);
    
        private static final String INDEX_NAME = "fess_config.coordinator";
    
        private static final String TYPE_HEARTBEAT = "heartbeat";
    
        private static final String TYPE_OPERATION = "operation";
    
        private static final String TYPE_EVENT = "event";
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  8. tensorflow/c/eager/immediate_execution_context.h

      // Create an abstract tensor handle from tensorflow::Tensor.
      virtual ImmediateExecutionTensorHandle* CreateLocalHandleFromTFTensor(
          tensorflow::Tensor& t, const char* d_name) = 0;
    
      // Convert a TFRT TensorHandle to tensorflow::TensorHandle.
      virtual ImmediateExecutionTensorHandle* TFTensorHandleFromInterface(
          ImmediateExecutionTensorHandle* handle) = 0;
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 12.3K bytes
    - Click Count (0)
  9. migrator/migrator.go

    			if idx := stmt.Schema.LookIndex(name); idx != nil {
    				name = idx.Name
    			}
    		}
    
    		return m.DB.Raw(
    			"SELECT count(*) FROM information_schema.statistics WHERE table_schema = ? AND table_name = ? AND index_name = ?",
    			currentDatabase, stmt.Table, name,
    		).Row().Scan(&count)
    	})
    
    	return count > 0
    }
    
    // RenameIndex rename index from oldName to newName
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.23.md

      - *apiserver_cache_list_total*: Counter of LIST requests served from watch cache, broken down by resource_prefix and index_name
      - *apiserver_cache_list_fetched_objects_total*: Counter of objects read from watch cache in the course of serving a LIST request, broken down by resource_prefix and index_name
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Feb 28 21:06:52 GMT 2023
    - 424.5K bytes
    - Click Count (0)
Back to Top