Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 375 for from (0.17 sec)

  1. src/cmd/asm/internal/asm/asm.go

    			// ADR label, R. Label is in From.
    			target = &a[0]
    			prog.To = a[1]
    			targetAddr = &prog.From
    		} else {
    			target = &a[1]
    			prog.From = a[0]
    		}
    	case 3:
    		if p.arch.Family == sys.PPC64 {
    			// Special 3-operand jumps.
    			// a[1] is a register number expressed as a constant or register value
    			target = &a[2]
    			prog.From = a[0]
    			if a[0].Type != obj.TYPE_CONST {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  2. tests/create_test.go

    		t.Fatalf("failed to create data from map, got error: %v", err)
    	}
    
    	var result1 User
    	if err := DB.Where("name = ?", "create_from_map_1").First(&result1).Error; err != nil || result1.Age != 18 {
    		t.Fatalf("failed to create from map, got error %v", err)
    	}
    
    	datas := []map[string]interface{}{
    		{"Name": "create_from_map_2", "Age": 19},
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  3. internal/s3select/select_test.go

    			wantResult: `{"_1":1}`,
    		},
    		{
    			name:       "cast_from_int_to_float",
    			query:      `SELECT cast(1 as float) FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":1}`,
    		},
    		{
    			name:       "cast_from_float_to_float",
    			query:      `SELECT cast(1.0 as float) FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":1}`,
    		},
    		{
    			name:       "arithmetic_integer_operand",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  4. src/archive/tar/stat_unix.go

    		case "linux":
    			// Copied from golang.org/x/sys/unix/dev_linux.go.
    			major := uint32((dev & 0x00000000000fff00) >> 8)
    			major |= uint32((dev & 0xfffff00000000000) >> 32)
    			minor := uint32((dev & 0x00000000000000ff) >> 0)
    			minor |= uint32((dev & 0x00000ffffff00000) >> 12)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "darwin", "ios":
    			// Copied from golang.org/x/sys/unix/dev_darwin.go.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. cmd/common-main.go

    }
    
    func buildServerCtxt(ctx *cli.Context, ctxt *serverCtxt) (err error) {
    	// Get "json" flag from command line argument and
    	ctxt.JSON = ctx.IsSet("json") || ctx.GlobalIsSet("json")
    	// Get quiet flag from command line argument.
    	ctxt.Quiet = ctx.IsSet("quiet") || ctx.GlobalIsSet("quiet")
    	// Get anonymous flag from command line argument.
    	ctxt.Anonymous = ctx.IsSet("anonymous") || ctx.GlobalIsSet("anonymous")
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 17 00:34:45 GMT 2024
    - 35.5K bytes
    - Viewed (2)
  6. internal/handlers/proxy.go

    	protoRegex = regexp.MustCompile(`(?i)^(;|,| )+(?:proto=)(https|http)`)
    )
    
    // GetSourceScheme retrieves the scheme from the X-Forwarded-Proto and RFC7239
    // Forwarded headers (in that order).
    func GetSourceScheme(r *http.Request) string {
    	var scheme string
    
    	// Retrieve the scheme from X-Forwarded-Proto.
    	if proto := r.Header.Get(xForwardedProto); proto != "" {
    		scheme = strings.ToLower(proto)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  7. clause/where_test.go

    				Exprs: []clause.Expression{clause.Or(clause.Neq{Column: "name", Value: "jinzhu"}), clause.Eq{Column: clause.PrimaryColumn, Value: "1"}, clause.Gt{Column: "age", Value: 18}},
    			}},
    			"SELECT * FROM `users` WHERE `users`.`id` = ? OR `name` <> ? AND `age` > ?",
    			[]interface{}{"1", "jinzhu", 18},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Where{
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Mar 05 02:23:51 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. cni/pkg/iptables/iptables.go

    		"-j", "CONNMARK",
    		"--set-xmark", inpodTproxyMark)
    
    	// Handle healthcheck probes from the host node. In the host netns, before the packet enters the pod, we SNAT
    	// the healthcheck packet to a fixed IP if the packet is coming from a node-local process with a socket.
    	//
    	// We do this so we can exempt this traffic from ztunnel capture/proxy - otherwise both kube-proxy (legit)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 01:42:30 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  9. cni/pkg/log/uds.go

    		}
    		msg.Msg = strings.TrimSpace(msg.Msg)
    		messages = append(messages, msg)
    	}
    	// Lock log message printing to prevent log messages from different CNI
    	// processes interleave.
    	l.mu.Lock()
    	defer l.mu.Unlock()
    	for _, m := range messages {
    		// There is no fatal log from CNI plugin
    		switch m.Level {
    		case "debug":
    			pluginLog.LogWithTime(log.DebugLevel, m.Msg, m.Time)
    		case "info":
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 01:05:12 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    		cache.iamGroupPolicyMap.Store(name, mp)
    	}
    	cache.updatedAt = time.Now()
    	return mp.UpdatedAt, nil
    }
    
    // PolicyNotificationHandler - loads given policy from storage. If not present,
    // deletes from cache. This notification only reads from storage, and updates
    // cache. When the notification is for a policy deletion, it updates the
    // user-policy and group-policy maps as well.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 74.4K bytes
    - Viewed (2)
Back to top