Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 1,460 for case1 (0.03 sec)

  1. internal/bucket/encryption/bucket-sse-config.go

    func (alg *Algorithm) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	var s string
    	if err := d.DecodeElement(&s, &start); err != nil {
    		return err
    	}
    
    	switch s {
    	case string(AES256):
    		*alg = AES256
    	case string(AWSKms):
    		*alg = AWSKms
    	default:
    		return errors.New("Unknown SSE algorithm")
    	}
    
    	return nil
    }
    
    // MarshalXML - Marshals given SSE algorithm to valid XML
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/ACE.java

                case 0x00:
                    return "This folder only";
                case 0x03:
                    return "This folder, subfolders and files";
                case 0x0B:
                    return "Subfolders and files only";
                case 0x02:
                    return "This folder and subfolders";
                case 0x0A:
                    return "Subfolders only";
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Cut.java

          return BoundType.OPEN;
        }
    
        @Override
        Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain) {
          switch (boundType) {
            case CLOSED:
              return this;
            case OPEN:
              C previous = domain.previous(endpoint);
              return (previous == null) ? Cut.<C>belowAll() : new AboveValue<C>(previous);
          }
          throw new AssertionError();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. cmd/bucket-replication-utils.go

    	return rt != NoResync
    }
    
    func (rt ResyncStatusType) String() string {
    	switch rt {
    	case ResyncStarted:
    		return "Ongoing"
    	case ResyncCompleted:
    		return "Completed"
    	case ResyncFailed:
    		return "Failed"
    	case ResyncPending:
    		return "Pending"
    	case ResyncCanceled:
    		return "Canceled"
    	default:
    		return ""
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. callbacks/associations.go

    						}
    					}
    				}
    
    				switch db.Statement.ReflectValue.Kind() {
    				case reflect.Slice, reflect.Array:
    					for i := 0; i < db.Statement.ReflectValue.Len(); i++ {
    						obj := db.Statement.ReflectValue.Index(i)
    						if reflect.Indirect(obj).Kind() == reflect.Struct {
    							appendToElems(obj)
    						}
    					}
    				case reflect.Struct:
    					appendToElems(db.Statement.ReflectValue)
    				}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Apr 11 03:06:13 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle.go

    func (es *expiryState) Worker(input <-chan expiryOp) {
    	for {
    		select {
    		case <-es.ctx.Done():
    			return
    		case v, ok := <-input:
    			if !ok {
    				return
    			}
    			if v == nil {
    				// ResizeWorkers signaling worker to quit
    				return
    			}
    			switch v := v.(type) {
    			case expiryTask:
    				if v.objInfo.TransitionedObject.Status != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  7. cmd/metacache-walk.go

    			objsReturned++
    		}
    	}
    	send := func(entry metaCacheEntry) error {
    		objReturned(entry.metadata)
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		case out <- entry:
    		}
    		return nil
    	}
    
    	// Fast exit track to check if we are listing an object with
    	// a trailing slash, this will avoid to list the object content.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. callbacks/update.go

    	)
    
    	switch stmt.ReflectValue.Kind() {
    	case reflect.Slice, reflect.Array:
    		assignValue = func(field *schema.Field, value interface{}) {
    			for i := 0; i < stmt.ReflectValue.Len(); i++ {
    				if stmt.ReflectValue.CanAddr() {
    					field.Set(stmt.Context, stmt.ReflectValue.Index(i), value)
    				}
    			}
    		}
    	case reflect.Struct:
    		assignValue = func(field *schema.Field, value interface{}) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. scan.go

    		for i, column := range columns {
    			v, ok := db.Statement.ColumnMapping[column]
    			if ok {
    				columns[i] = v
    			}
    		}
    	}
    
    	db.RowsAffected = 0
    
    	switch dest := db.Statement.Dest.(type) {
    	case map[string]interface{}, *map[string]interface{}:
    		if initialized || rows.Next() {
    			columnTypes, _ := rows.ColumnTypes()
    			prepareValues(values, db, columnTypes, columns)
    
    			db.RowsAffected++
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. cmd/iam-etcd-store.go

    	var basePrefix string
    	switch userType {
    	case svcUser:
    		basePrefix = iamConfigServiceAccountsPrefix
    	case stsUser:
    		basePrefix = iamConfigSTSPrefix
    	default:
    		basePrefix = iamConfigUsersPrefix
    	}
    
    	cctx, cancel := context.WithTimeout(ctx, defaultContextTimeout)
    	defer cancel()
    
    	// Retrieve all keys and values to avoid too many calls to etcd in case of
    	// a large number of users
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top