Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for adddot1 (0.63 sec)

  1. src/cmd/compile/internal/typecheck/subr.go

    		}
    		if d < 0 {
    			// Found an embedded field at target depth.
    			return c, true
    		}
    		a, more1 := adddot1(s, f.Type, d, save, ignorecase)
    		if a != 0 && c == 0 {
    			dotlist[d].field = f
    		}
    		c += a
    		if more1 {
    			more = true
    		}
    	}
    
    	return c, more
    }
    
    // dotlist is used by adddot1 to record the path of embedded fields
    // used to access a target field or method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication_test.go

    				VersionID:         "a3348c34-c352-4498-82f0-1098e8b34df9",
    				UserDefined:       map[string]string{xhttp.MinIOReplicationResetStatus: fmt.Sprintf("%s;%s", UTCNow().AddDate(0, 0, -1).Format(http.TimeFormat), "abc")},
    				ModTime:           UTCNow().AddDate(0, 0, -2),
    			},
    			expectedSync: true,
    			dsc:          ReplicateDecision{targetsMap: map[string]replicateTargetDecision{"arn1": newReplicateTargetDecision("arn1", true, false)}},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Sep 16 09:28:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  3. src/time/mono_test.go

    	no("tu.In(UTC)", tu.In(UTC))
    	no("tu.AddDate(1, 1, 1)", tu.AddDate(1, 1, 1))
    	no("tu.AddDate(0, 0, 0)", tu.AddDate(0, 0, 0))
    	no("tu.Local()", tu.Local())
    	no("tu.UTC()", tu.UTC())
    	no("tu.Round(2)", tu.Round(2))
    	no("tu.Truncate(2)", tu.Truncate(2))
    
    	yes("tm.Add(1)", tm.Add(1))
    	no("tm.AddDate(1, 1, 1)", tm.AddDate(1, 1, 1))
    	no("tm.AddDate(0, 0, 0)", tm.AddDate(0, 0, 0))
    	no("tm.In(UTC)", tm.In(UTC))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 19 17:10:49 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  4. src/time/example_test.go

    	oneDayLaterZurich := startZurich.AddDate(0, 0, 1)
    	dayDurationZurich := oneDayLaterZurich.Sub(startZurich)
    
    	fmt.Printf("oneDayLater: start.AddDate(0, 0, 1) = %v\n", oneDayLater)
    	fmt.Printf("oneMonthLater: start.AddDate(0, 1, 0) = %v\n", oneMonthLater)
    	fmt.Printf("oneYearLater: start.AddDate(1, 0, 0) = %v\n", oneYearLater)
    	fmt.Printf("oneDayLaterZurich: startZurich.AddDate(0, 0, 1) = %v\n", oneDayLaterZurich)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 01:05:00 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  5. internal/s3select/sql/timestampfuncs.go

    	var duration time.Duration
    	switch timePart {
    	case timePartYear:
    		return FromTimestamp(t.AddDate(int(qty), 0, 0)), nil
    	case timePartMonth:
    		return FromTimestamp(t.AddDate(0, int(qty), 0)), nil
    	case timePartDay:
    		return FromTimestamp(t.AddDate(0, 0, int(qty))), nil
    	case timePartHour:
    		duration = time.Duration(qty) * time.Hour
    	case timePartMinute:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/providers/collections/groovy/build.gradle

            // Create the container
            animals = objectFactory.polymorphicDomainObjectContainer(Animal)
        }
    
        // Add a dog to the container
        void addDog(String name, String breed) {
            animals.create(Dog, name: name, breed: breed)
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. pkg/proxy/util/nfacct/nfacct_linux.go

    	if name == "" {
    		return ErrEmptyName
    	}
    	if len(name) > MaxLength {
    		return ErrNameExceedsMaxLength
    	}
    
    	req := r.handler.newRequest(cmdNew, unix.NLM_F_REQUEST|unix.NLM_F_CREATE|unix.NLM_F_ACK)
    	req.AddData(nl.NewRtAttr(attrName, nl.ZeroTerminated(name)))
    	_, err := req.Execute(unix.NETLINK_NETFILTER, 0)
    	if err != nil {
    		return handleError(err)
    	}
    	return nil
    }
    
    // Get is part of the interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. cmd/postpolicyform_test.go

    		formValues.Set("X-Amz-Algorithm", tt.XAmzAlgorithm)
    		formValues.Set("X-Amz-Credential", tt.XAmzCredential)
    		if tt.Expired {
    			// Expired already.
    			pp.SetExpires(UTCNow().AddDate(0, 0, -10))
    		} else {
    			// Expires in 10 days.
    			pp.SetExpires(UTCNow().AddDate(0, 0, 10))
    		}
    
    		formValues.Set("Policy", base64.StdEncoding.EncodeToString([]byte(pp.String())))
    		formValues.Set("Success_action_status", tt.SuccessActionStatus)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/providers/collections/kotlin/build.gradle.kts

        // Define a container for animals
        private val animals: ExtensiblePolymorphicDomainObjectContainer<Animal> = objectFactory.polymorphicDomainObjectContainer(Animal::class)
    
        // Add a dog to the container
        fun addDog(name: String, breed: String) {
            var dog : Dog = Dog(name, breed)
            animals.add(dog)
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. pkg/proxy/util/nfacct/handler.go

    type handler interface {
    	newRequest(cmd int, flags uint16) request
    }
    
    // request is an injectable interface representing a netlink request.
    type request interface {
    	Serialize() []byte
    	AddData(data nl.NetlinkRequestData)
    	AddRawData(data []byte)
    	Execute(sockType int, resType uint16) ([][]byte, error)
    }
    
    // netlinkHandler is an implementation of the handler interface. It maintains a netlink socket
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top