Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 7,250 for return (0.12 sec)

  1. cmd/bucket-replication-handlers.go

    		return
    	}
    	if globalSiteReplicationSys.isEnabled() && logger.GetReqInfo(ctx).Cred.AccessKey != globalActiveCred.AccessKey {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrReplicationDenyEditError), r.URL)
    		return
    	}
    	if versioned := globalBucketVersioningSys.Enabled(bucket); !versioned {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrReplicationNeedsVersioningError), r.URL)
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2_gen.go

    	if err != nil {
    		return
    	}
    	if zb0001Len == 0 {
    		return
    	}
    	// write "ID"
    	err = en.Append(0xa2, 0x49, 0x44)
    	if err != nil {
    		return
    	}
    	err = en.WriteBytes((z.VersionID)[:])
    	if err != nil {
    		err = msgp.WrapError(err, "VersionID")
    		return
    	}
    	// write "MTime"
    	err = en.Append(0xa5, 0x4d, 0x54, 0x69, 0x6d, 0x65)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  3. internal/config/subnet/subnet.go

    	}
    
    	resp, err := client.Do(r)
    	if err != nil {
    		return "", err
    	}
    	defer xhttp.DrainBody(resp.Body)
    
    	respBytes, err := io.ReadAll(io.LimitReader(resp.Body, respBodyLimit))
    	if err != nil {
    		return "", err
    	}
    	respStr := string(respBytes)
    
    	if resp.StatusCode == http.StatusOK {
    		return respStr, nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 27 16:35:36 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. internal/jwt/parser.go

    	if err := c.MapClaims.Valid(); err != nil {
    		return err
    	}
    
    	if c.AccessKey == "" {
    		return jwtgo.NewValidationError("accessKey/sub missing",
    			jwtgo.ValidationErrorClaimsInvalid)
    	}
    
    	return nil
    }
    
    // Map returns underlying low-level map claims.
    func (c *MapClaims) Map() map[string]interface{} {
    	if c == nil {
    		return nil
    	}
    	return c.MapClaims
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. internal/event/target/mqtt.go

    	return target.id
    }
    
    // Name - returns the Name of the target.
    func (target *MQTTTarget) Name() string {
    	return target.ID().String()
    }
    
    // Store returns any underlying store if set.
    func (target *MQTTTarget) Store() event.TargetStore {
    	return target.store
    }
    
    // IsActive - Return true if target is up and active
    func (target *MQTTTarget) IsActive() (bool, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

                    return atomic.get();
                  }
                }));
      }
    
      /** Returns true if this map contains a mapping for the specified key. */
      public boolean containsKey(Object key) {
        return map.containsKey(key);
      }
    
      /**
       * Returns the number of key-value mappings in this map. If the map contains more than {@code
       * Integer.MAX_VALUE} elements, returns {@code Integer.MAX_VALUE}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                }
            }
            return flags;
        }
    
        /**
         * Returns the default domain from the current environment.
         *
         * @return A <code>String</code> containing the domain.
         */
        public static String getDefaultDomain() {
            return DEFAULT_DOMAIN;
        }
    
        public static byte[] getDefaultTargetInformation() {
            return DEFAULT_TARGET_INFORMATION;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.6K bytes
    - Viewed (0)
  8. cmd/site-replication-metrics_gen.go

    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z RStat) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 2
    	// write "Count"
    	err = en.Append(0x82, 0xa5, 0x43, 0x6f, 0x75, 0x6e, 0x74)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  9. misc/ios/go_ios_exec.go

    	if err != nil {
    		return 1, err
    	}
    	if err := syscall.Flock(int(lock.Fd()), syscall.LOCK_EX); err != nil {
    		return 1, err
    	}
    
    	err = runOnSimulator(appdir)
    	if err != nil {
    		return 1, err
    	}
    	return 0, nil
    }
    
    func runOnSimulator(appdir string) error {
    	if err := installSimulator(appdir); err != nil {
    		return err
    	}
    
    	return runSimulator(appdir, bundleID, os.Args[2:])
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 18 16:32:49 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. internal/bucket/object/lock/lock.go

    		return &ret, ErrPastObjectLockRetainDate
    	}
    
    	if !ret.RetainUntilDate.IsZero() && ret.RetainUntilDate.Before(t) {
    		return &ret, ErrPastObjectLockRetainDate
    	}
    
    	return &ret, nil
    }
    
    // IsObjectLockRetentionRequested returns true if object lock retention headers are set.
    func IsObjectLockRetentionRequested(h http.Header) bool {
    	if _, ok := h[AmzObjectLockMode]; ok {
    		return true
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top