Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for writeQString (0.11 sec)

  1. clause/where.go

    		if len(not.Exprs) > 1 {
    			builder.WriteByte(')')
    		}
    	} else {
    		builder.WriteString("NOT ")
    		if len(not.Exprs) > 1 {
    			builder.WriteByte('(')
    		}
    
    		for idx, c := range not.Exprs {
    			if idx > 0 {
    				switch c.(type) {
    				case OrConditions:
    					builder.WriteString(OrWithSpace)
    				default:
    					builder.WriteString(AndWithSpace)
    				}
    			}
    
    			e, wrapInParentheses := c.(Expr)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. clause/locking.go

    	return "FOR"
    }
    
    // Build build where clause
    func (locking Locking) Build(builder Builder) {
    	builder.WriteString(locking.Strength)
    	if locking.Table.Name != "" {
    		builder.WriteString(" OF ")
    		builder.WriteQuoted(locking.Table)
    	}
    
    	if locking.Options != "" {
    		builder.WriteByte(' ')
    		builder.WriteString(locking.Options)
    	}
    }
    
    // MergeClause merge order by clauses
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Dec 15 08:32:56 UTC 2023
    - 773 bytes
    - Viewed (0)
  3. clause/limit.go

    // Build build where clause
    func (limit Limit) Build(builder Builder) {
    	if limit.Limit != nil && *limit.Limit >= 0 {
    		builder.WriteString("LIMIT ")
    		builder.AddVar(builder, *limit.Limit)
    	}
    	if limit.Offset > 0 {
    		if limit.Limit != nil && *limit.Limit >= 0 {
    			builder.WriteByte(' ')
    		}
    		builder.WriteString("OFFSET ")
    		builder.AddVar(builder, limit.Offset)
    	}
    }
    
    // MergeClause merge order by clauses
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 942 bytes
    - Viewed (0)
  4. cmd/bootstrap-peer-server_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "MinioEnv")
    		return
    	}
    	for za0002, za0003 := range z.MinioEnv {
    		err = en.WriteString(za0002)
    		if err != nil {
    			err = msgp.WrapError(err, "MinioEnv")
    			return
    		}
    		err = en.WriteString(za0003)
    		if err != nil {
    			err = msgp.WrapError(err, "MinioEnv", za0002)
    			return
    		}
    	}
    	// write "Checksum"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 14:49:49 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. cmd/batch-replicate_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.AccessKey)
    	if err != nil {
    		err = msgp.WrapError(err, "AccessKey")
    		return
    	}
    	// write "SecretKey"
    	err = en.Append(0xa9, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.SecretKey)
    	if err != nil {
    		err = msgp.WrapError(err, "SecretKey")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  6. cmd/storage-datatypes_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "Scanning")
    		return
    	}
    	err = en.WriteString(z.Endpoint)
    	if err != nil {
    		err = msgp.WrapError(err, "Endpoint")
    		return
    	}
    	err = en.WriteString(z.MountPath)
    	if err != nil {
    		err = msgp.WrapError(err, "MountPath")
    		return
    	}
    	err = en.WriteString(z.ID)
    	if err != nil {
    		err = msgp.WrapError(err, "ID")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  7. src/bufio/bufio_test.go

    }
    
    func (w *teststringwriter) WriteString(s string) (int, error) {
    	w.writeString += s
    	return len(s), nil
    }
    
    func (w *teststringwriter) check(t *testing.T, write, writeString string) {
    	t.Helper()
    	if w.write != write {
    		t.Errorf("write: expected %q, got %q", write, w.write)
    	}
    	if w.writeString != writeString {
    		t.Errorf("writeString: expected %q, got %q", writeString, w.writeString)
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  8. cmd/local-locker_gen.go

    func (z localLockMap) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteMapHeader(uint32(len(z)))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0006, zb0007 := range z {
    		err = en.WriteString(zb0006)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		err = en.WriteArrayHeader(uint32(len(zb0007)))
    		if err != nil {
    			err = msgp.WrapError(err, zb0006)
    			return
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. internal/grid/grid_types_msgp_test.go

    	if err != nil {
    		err = msgp.WrapError(err, "Num")
    		return
    	}
    	// write "String"
    	err = en.Append(0xa6, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.String)
    	if err != nil {
    		err = msgp.WrapError(err, "String")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z testRequest) MarshalMsg(b []byte) (o []byte, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java

            Path mavenUserProps = mavenConf.resolve("maven.properties");
            Files.writeString(mavenUserProps, "${includes} = ?\"/user/ma ven.properties\",  ?/foo/bar\n");
            Path userDirectory = fs.getPath("/user");
            Files.createDirectories(userDirectory);
            Path propsPath = userDirectory.resolve("ma ven.properties");
            Files.writeString(propsPath, "${includes} = another.properties\nfro = ${bar}z\n");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top