Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 1,524 for var (0.03 sec)

  1. statement.go

    		stmt.DB.Dialector.QuoteTo(writer, fmt.Sprint(field))
    	}
    }
    
    // Quote returns quoted value
    func (stmt *Statement) Quote(field interface{}) string {
    	var builder strings.Builder
    	stmt.QuoteTo(&builder, field)
    	return builder.String()
    }
    
    // AddVar add var
    func (stmt *Statement) AddVar(writer clause.Writer, vars ...interface{}) {
    	for idx, v := range vars {
    		if idx > 0 {
    			writer.WriteByte(',')
    		}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. istioctl/cmd/root.go

    		proxystatus.XdsStatusCommand(ctx),
    	}
    	troubleshootingCommands := []*cobra.Command{
    		version.NewVersionCommand(ctx),
    		proxystatus.StableXdsStatusCommand(ctx),
    	}
    	var debugCmdAttachmentPoint *cobra.Command
    	if viper.GetBool("PREFER-EXPERIMENTAL") {
    		legacyCmd := &cobra.Command{
    			Use:   "legacy",
    			Short: "Legacy command variants",
    		}
    		rootCmd.AddCommand(legacyCmd)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Aug 05 02:08:47 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. internal/s3select/jstream/errors.go

    package jstream
    
    import (
    	"fmt"
    	"strconv"
    )
    
    // Predefined errors
    var (
    	ErrSyntax        = DecoderError{msg: "invalid character"}
    	ErrUnexpectedEOF = DecoderError{msg: "unexpected end of JSON input"}
    	ErrMaxDepth      = DecoderError{msg: "maximum recursion depth exceeded"}
    )
    
    type errPos [2]int // line number, byte offset where error occurred
    
    // DecoderError contains a detailed decoding error.
    type DecoderError struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. cmd/xl-storage_noatime_supported.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"os"
    	"syscall"
    )
    
    var (
    	// Disallow updating access times
    	// Add non-block to avoid syscall to attempt to set epoll on files.
    	readMode = os.O_RDONLY | 0x40000 | syscall.O_NONBLOCK // O_NOATIME
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 16:36:24 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. lib/time/mkzip.go

    }
    
    func main() {
    	log.SetPrefix("mkzip: ")
    	log.SetFlags(0)
    	flag.Usage = usage
    	flag.Parse()
    	args := flag.Args()
    	if len(args) != 1 || !strings.HasSuffix(args[0], ".zip") {
    		usage()
    	}
    
    	var zb bytes.Buffer
    	zw := zip.NewWriter(&zb)
    	seen := make(map[string]bool)
    	err := filepath.WalkDir(".", func(path string, d fs.DirEntry, err error) error {
    		if d.IsDir() {
    			return nil
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. istioctl/cmd/root_test.go

    	_ = parent.PersistentFlags().String(parentFlag0, "", parentFlag0)
    	_ = parent.PersistentFlags().String(parentFlag1, "", parentFlag1)
    	_ = parent.PersistentFlags().String(parentFlag2, "", parentFlag2)
    	var out bytes.Buffer
    	parent.SetOut(&out)
    	parent.SetErr(&out)
    
    	child := &cobra.Command{
    		Use: "child",
    		Run: func(c *cobra.Command, args []string) {},
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 15 17:59:55 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  7. internal/config/identity/ldap/ldap.go

    // of the configured LDAP base DNs.
    func (l *Config) GetValidatedGroupDN(conn *ldap.Conn, groupDN string) (*xldap.DNSearchResult, bool, error) {
    	if conn == nil {
    		var err error
    		conn, err = l.LDAP.Connect()
    		if err != nil {
    			return nil, false, err
    		}
    		defer conn.Close()
    
    		// Bind to the lookup user account
    		if err = l.LDAP.LookupBind(conn); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 01:04:53 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/backup/admin_backup.jsp

                                                </tr>
                                                </thead>
                                                <tbody>
                                                <c:forEach var="data" varStatus="s"
                                                           items="${backupItems}">
                                                    <tr
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 5.1K bytes
    - Viewed (0)
  9. internal/kms/secret-key_test.go

    			t.Fatalf("Test %d: failed to decrypt key: %v", i, err)
    		}
    		if !bytes.Equal(plaintext, dataKey) {
    			t.Fatalf("Test %d: decrypted key does not generated one: got %x - want %x", i, plaintext, dataKey)
    		}
    	}
    }
    
    var decryptKeyTests = []struct {
    	KeyID      string
    	Plaintext  string
    	Ciphertext string
    	Context    Context
    }{
    	{
    		KeyID:      "my-key",
    		Plaintext:  "zmS7NrG765UZ0ZN85oPjybelxqVvpz01vxsSpOISy2M=",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. cmd/bucket-encryption-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Check if bucket exists
    	var err error
    	if _, err = objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top