Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 6,271 for _return (0.09 sec)

  1. cmd/erasure-metadata.go

    		if sum.PartNumber == partNumber {
    			// Return the checksum
    			return sum
    		}
    	}
    	return ChecksumInfo{Algorithm: DefaultBitrotAlgorithm}
    }
    
    // ShardFileSize - returns final erasure size from original size.
    func (e ErasureInfo) ShardFileSize(totalLength int64) int64 {
    	if totalLength == 0 {
    		return 0
    	}
    	if totalLength == -1 {
    		return -1
    	}
    	numShards := totalLength / e.BlockSize
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

            nextRouteToTry = retryRoute
            return true
          }
        }
    
        // If we have a routes left, use 'em.
        if (routeSelection?.hasNext() == true) return true
    
        // If we haven't initialized the route selector yet, assume it'll have at least one route.
        val localRouteSelector = routeSelector ?: return true
    
        // If we do have a route selector, use its routes.
        return localRouteSelector.hasNext()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. internal/event/target/amqp.go

    	quitCh chan struct{}
    }
    
    // ID - returns TargetID.
    func (target *AMQPTarget) ID() event.TargetID {
    	return target.id
    }
    
    // Name - returns the Name of the target.
    func (target *AMQPTarget) Name() string {
    	return target.ID().String()
    }
    
    // Store returns any underlying store if set.
    func (target *AMQPTarget) Store() event.TargetStore {
    	return target.store
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeBasedTable.java

          return new TreeRow(rowKey, fromKey, toKey);
        }
    
        @Override
        public SortedMap<C, V> headMap(C toKey) {
          checkArgument(rangeContains(checkNotNull(toKey)));
          return new TreeRow(rowKey, lowerBound, toKey);
        }
    
        @Override
        public SortedMap<C, V> tailMap(C fromKey) {
          checkArgument(rangeContains(checkNotNull(fromKey)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. cmd/storage-rest-client.go

    		return errVolumeNotFound
    	case errVolumeExists.Error():
    		return errVolumeExists
    	case errFileNotFound.Error():
    		return errFileNotFound
    	case errFileVersionNotFound.Error():
    		return errFileVersionNotFound
    	case errFileNameTooLong.Error():
    		return errFileNameTooLong
    	case errFileAccessDenied.Error():
    		return errFileAccessDenied
    	case errPathNotFound.Error():
    		return errPathNotFound
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  6. internal/s3select/sql/statement.go

    			}
    			return recs, nil
    
    		default:
    			input.Reset()
    			input, err = input.Set("_1", &Value{value: v})
    			if err != nil {
    				return nil, err
    			}
    		}
    		return []*Record{&input}, nil
    	}
    	return nil, errDataSource(errors.New("unexpected non JSON input"))
    }
    
    // IsAggregated returns if the statement involves SQL aggregation
    func (e *SelectStatement) IsAggregated() bool {
    	return e.selectQProp.isAggregation
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/Type1Message.java

            parse(material);
        }
    
    
        /**
         * Returns the default flags for a generic Type-1 message in the
         * current environment.
         * 
         * @param tc
         *            context to use
         * @return An <code>int</code> containing the default flags.
         */
        public static int getDefaultFlags ( CIFSContext tc ) {
            return NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 02 12:55:08 UTC 2018
    - 7.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/TypeResolver.java

          return var.toString();
        }
    
        /** Wraps {@code t} in a {@code TypeVariableKey} if it's a type variable. */
        @CheckForNull
        static TypeVariableKey forLookup(Type t) {
          if (t instanceof TypeVariable) {
            return new TypeVariableKey((TypeVariable<?>) t);
          } else {
            return null;
          }
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Maps.java

          /*
           * standardToArray returns `@Nullable Object[]` rather than `Object[]` but because it can
           * be used with collections that may contain null. This collection never contains nulls, so we
           * could return `Object[]`. But this class is private and J2KT cannot change return types in
           * overrides, so we declare `@Nullable Object[]` as the return type.
           */
          return standardToArray();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

            if (nextSnapshot != null) return true
    
            synchronized(this@DiskLruCache) {
              // If the cache is closed, truncate the iterator.
              if (closed) return false
    
              while (delegate.hasNext()) {
                nextSnapshot = delegate.next()?.snapshot() ?: continue
                return true
              }
            }
    
            return false
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top