Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 63 for printable (0.04 sec)

  1. logger/sql.go

    	"strconv"
    	"strings"
    	"time"
    	"unicode"
    
    	"gorm.io/gorm/utils"
    )
    
    const (
    	tmFmtWithMS = "2006-01-02 15:04:05.999"
    	tmFmtZero   = "0000-00-00 00:00:00"
    	nullStr     = "NULL"
    )
    
    func isPrintable(s string) bool {
    	for _, r := range s {
    		if !unicode.IsPrint(r) {
    			return false
    		}
    	}
    	return true
    }
    
    // A list of Go types that should be converted to SQL primitives
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. clause/joins.go

    	jt.Table = name
    	return jt
    }
    
    // Join clause for from
    type Join struct {
    	Type       JoinType
    	Table      Table
    	ON         Where
    	Using      []string
    	Expression Expression
    }
    
    func JoinTable(names ...string) Table {
    	return Table{
    		Name: utils.JoinNestedRelationNames(names),
    	}
    }
    
    func (join Join) Build(builder Builder) {
    	if join.Expression != nil {
    		join.Expression.Build(builder)
    	} else {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. tests/create_test.go

    }
    
    func TestCreateWithNoGORMPrimaryKey(t *testing.T) {
    	type JoinTable struct {
    		UserID   uint
    		FriendID uint
    	}
    
    	DB.Migrator().DropTable(&JoinTable{})
    	if err := DB.AutoMigrate(&JoinTable{}); err != nil {
    		t.Errorf("no error should happen when auto migrate, but got %v", err)
    	}
    
    	jt := JoinTable{UserID: 1, FriendID: 2}
    	err := DB.Create(&jt).Error
    	if err != nil {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 09:55:20 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  4. callbacks/associations.go

    				distinctElems := reflect.MakeSlice(reflect.SliceOf(fieldType), 0, 10)
    				joins := reflect.MakeSlice(reflect.SliceOf(reflect.PointerTo(rel.JoinTable.ModelType)), 0, 10)
    				objs := []reflect.Value{}
    
    				appendToJoins := func(obj reflect.Value, elem reflect.Value) {
    					joinValue := reflect.New(rel.JoinTable.ModelType)
    					for _, ref := range rel.References {
    						if ref.OwnPrimaryKey {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Feb 13 06:16:26 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

    import org.dbflute.Entity;
    import org.dbflute.bhv.AbstractBehaviorWritable;
    import org.dbflute.bhv.readable.EntityRowHandler;
    import org.dbflute.bhv.writable.DeleteOption;
    import org.dbflute.bhv.writable.InsertOption;
    import org.dbflute.bhv.writable.UpdateOption;
    import org.dbflute.cbean.ConditionBean;
    import org.dbflute.cbean.coption.CursorSelectOption;
    import org.dbflute.cbean.result.ListResultBean;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Test setting attributes
            file.setReadOnly();
            assertFalse(file.canWrite(), "Should not be writable when read-only");
    
            file.setReadWrite();
            assertTrue(file.canWrite(), "Should be writable after setReadWrite");
        }
    
        @Test
        void testFileOverwriteWithDifferentContent() throws Exception {
            long timestamp = System.currentTimeMillis();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java

    import org.dbflute.Entity;
    import org.dbflute.bhv.AbstractBehaviorWritable;
    import org.dbflute.bhv.readable.EntityRowHandler;
    import org.dbflute.bhv.writable.DeleteOption;
    import org.dbflute.bhv.writable.InsertOption;
    import org.dbflute.bhv.writable.UpdateOption;
    import org.dbflute.cbean.ConditionBean;
    import org.dbflute.cbean.coption.CursorSelectOption;
    import org.dbflute.cbean.result.ListResultBean;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  8. src/main/resources/CLMessages.properties

    ECL0099=Field({1}) of class({0}) is not a static field.
    ECL0100=Method({1}) of class({0}) is not a static method.
    ECL0101=File({0}) is not exist or not readable.
    ECL0102=File({0}) is not exist or not writable.
    ECL0103=Type({0}) is an interface not a class.
    ECL0104=Argument({0}) is not an array.
    ECL0105=Rethrew {0} as a runtime exception.
    ECL0106=IOException occurred, because {0}
    ECL0107=InvalidKeyException occurred, because {0}
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Mar 07 01:58:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

    import org.dbflute.Entity;
    import org.dbflute.bhv.AbstractBehaviorWritable;
    import org.dbflute.bhv.readable.EntityRowHandler;
    import org.dbflute.bhv.writable.DeleteOption;
    import org.dbflute.bhv.writable.InsertOption;
    import org.dbflute.bhv.writable.UpdateOption;
    import org.dbflute.cbean.ConditionBean;
    import org.dbflute.cbean.coption.CursorSelectOption;
    import org.dbflute.cbean.result.ListResultBean;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java

            File tempFile = ResponseDataUtil.createResponseBodyFile(responseData);
    
            assertNotNull(tempFile);
            assertTrue(tempFile.exists());
    
            // Verify file permissions (readable and writable by owner)
            assertTrue(tempFile.canRead());
            assertTrue(tempFile.canWrite());
    
            // Clean up
            tempFile.delete();
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top