Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for obj (0.12 sec)

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

    	if addr.Type != obj.TYPE_CONST || addr.Name != 0 || addr.Reg != 0 || addr.Index != 0 {
    		p.errorf("%s: expected immediate constant; found %s", op, obj.Dconv(prog, addr))
    	}
    	return addr.Offset
    }
    
    // getRegister checks that addr represents a register and returns its value.
    func (p *Parser) getRegister(prog *obj.Prog, op obj.As, addr *obj.Addr) int16 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  2. fastapi/encoders.py

            )
        if isinstance(obj, Enum):
            return obj.value
        if isinstance(obj, PurePath):
            return str(obj)
        if isinstance(obj, (str, int, float, type(None))):
            return obj
        if isinstance(obj, UndefinedType):
            return None
        if isinstance(obj, dict):
            encoded_dict = {}
            allowed_keys = set(obj.keys())
            if include is not None:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle.go

    func (lc Lifecycle) FilterRules(obj ObjectOpts) []Rule {
    	if obj.Name == "" {
    		return nil
    	}
    	var rules []Rule
    	for _, rule := range lc.Rules {
    		if rule.Status == Disabled {
    			continue
    		}
    		if !strings.HasPrefix(obj.Name, rule.GetPrefix()) {
    			continue
    		}
    		if !rule.Filter.TestTags(obj.UserTags) {
    			continue
    		}
    		if !obj.DeleteMarker && !rule.Filter.BySize(obj.Size) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. cmd/object_api_suite_test.go

    	for i := 6; i <= 10; i++ {
    		key := "obj" + strconv.Itoa(i)
    		_, err = obj.PutObject(context.Background(), "bucket", key, mustGetPutObjReader(t, bytes.NewBufferString(uploadContent), int64(len(uploadContent)), "", ""), opts)
    		if err != nil {
    			t.Fatalf("%s: <ERROR> %s", instanceType, err)
    		}
    		result, err = obj.ListObjects(context.Background(), "bucket", "obj", "", "", 5)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    	traceFn := globalLifecycleSys.trace(obj)
    	opts := ObjectOptions{
    		Expiration: ExpirationOptions{Expire: true},
    	}
    
    	if lcEvent.Action.DeleteVersioned() {
    		opts.VersionID = obj.VersionID
    	}
    
    	opts.Versioned = globalBucketVersioningSys.PrefixEnabled(obj.Bucket, obj.Name)
    	opts.VersionSuspended = globalBucketVersioningSys.PrefixSuspended(obj.Bucket, obj.Name)
    
    	if lcEvent.Action.DeleteAll() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/parse.go

    //
    // empty,           yielding (false, obj.ABI0)
    // "<>",            yielding (true,  obj.ABI0)
    // "<ABI0>"         yielding (false, obj.ABI0)
    // "<ABIInternal>"  yielding (false, obj.ABIInternal)
    //
    // Anything else beginning with "<" logs an error if issueError is
    // true, otherwise returns (false, obj.ABI0).
    func (p *Parser) symRefAttrs(name string, issueError bool) (bool, obj.ABI) {
    	abi := obj.ABI0
    	isStatic := false
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  7. src/cmd/api/main_test.go

    		}
    	case *types.Var:
    		if w.isDeprecated(obj) {
    			w.emitf("var %s //deprecated", obj.Name())
    		}
    		w.emitf("var %s %s", obj.Name(), w.typeString(obj.Type()))
    	case *types.TypeName:
    		w.emitType(obj)
    	case *types.Func:
    		w.emitFunc(obj)
    	default:
    		panic("unknown object: " + obj.String())
    	}
    }
    
    func (w *Walker) emitType(obj *types.TypeName) {
    	name := obj.Name()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Functions.java

        public C apply(@ParametricNullness A a) {
          return g.apply(f.apply(a));
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof FunctionComposition) {
            FunctionComposition<?, ?, ?> that = (FunctionComposition<?, ?, ?>) obj;
            return f.equals(that.f) && g.equals(that.g);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Functions.java

        public C apply(@ParametricNullness A a) {
          return g.apply(f.apply(a));
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof FunctionComposition) {
            FunctionComposition<?, ?, ?> that = (FunctionComposition<?, ?, ?>) obj;
            return f.equals(that.f) && g.equals(that.g);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

                hashCode = hash;
            }
    
            @Override
            public boolean equals(Object obj) {
                if (obj == this) {
                    return true;
                } else if (obj == null || !getClass().equals(obj.getClass())) {
                    return false;
                }
    
                Key that = (Key) obj;
                return artifactId.equals(that.artifactId)
                        && groupId.equals(that.groupId)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20.2K bytes
    - Viewed (0)
Back to top