Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 7,014 for rreturn (0.05 sec)

  1. internal/config/batch/batch.go

    	if err != nil {
    		return cfg, err
    	}
    	if kduration < 0 {
    		return cfg, config.ErrInvalidBatchKeyRotationWorkersWait(nil)
    	}
    
    	eduration, err := time.ParseDuration(env.Get(EnvKeyExpirationWorkersWait, kvs.GetWithDefault(ExpirationWorkersWait, DefaultKVS)))
    	if err != nil {
    		return cfg, err
    	}
    	if eduration < 0 {
    		return cfg, config.ErrInvalidBatchExpirationWorkersWait(nil)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. internal/disk/stat_windows.go

    	info.Files = uint64(lpTotalNumberOfClusters)
    	info.Ffree = uint64(lpNumberOfFreeClusters)
    
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    func GetDriveStats(major, minor uint32) (iostats IOStats, err error) {
    	return IOStats{}, errors.New("operation unsupported")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LongAdder.java

        return sum();
      }
    
      /** Returns the {@link #sum} as an {@code int} after a narrowing primitive conversion. */
      @Override
      public int intValue() {
        return (int) sum();
      }
    
      /** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */
      @Override
      public float floatValue() {
        return (float) sum();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/StandardRowSortedTable.java

          return new Maps.SortedKeySet<>(this);
        }
    
        @Override
        @CheckForNull
        public Comparator<? super R> comparator() {
          return sortedBackingMap().comparator();
        }
    
        @Override
        public R firstKey() {
          return sortedBackingMap().firstKey();
        }
    
        @Override
        public R lastKey() {
          return sortedBackingMap().lastKey();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/Resources.java

        return asByteSource(url).asCharSource(charset);
      }
    
      /**
       * Reads all bytes from a URL into a byte array.
       *
       * @param url the URL to read from
       * @return a byte array containing all the bytes from the URL
       * @throws IOException if an I/O error occurs
       */
      public static byte[] toByteArray(URL url) throws IOException {
        return asByteSource(url).read();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    	if err != nil {
    		return nil, err
    	}
    
    	// Anonymous request return quickly.
    	if accessKey == "" || secretKey == "" {
    		return req, nil
    	}
    
    	for k, v := range headers {
    		req.Header.Set(k, v)
    	}
    
    	err = signRequestV4(req, accessKey, secretKey)
    	if err != nil {
    		return nil, err
    	}
    
    	return req, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

            if (multiset.isPartialView()) {
              return copyOfSortedEntries(comparator, multiset.entrySet().asList());
            } else {
              return multiset;
            }
          }
        }
        return new ImmutableSortedMultiset.Builder<E>(comparator).addAll(elements).build();
      }
    
      /**
       * Returns an immutable sorted multiset containing the elements of a sorted multiset, sorted by
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

          if (hashAlgorithm != other.hashAlgorithm) return false
          if (hash != other.hash) return false
    
          return true
        }
    
        override fun hashCode(): Int {
          var result = pattern.hashCode()
          result = 31 * result + hashAlgorithm.hashCode()
          result = 31 * result + hash.hashCode()
          return result
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/LongMath.java

            case 0:
              return (k == 0) ? 1 : 0;
            case 1:
              return 1;
            case (-1):
              return ((k & 1) == 0) ? 1 : -1;
            case 2:
              return (k < Long.SIZE) ? 1L << k : 0;
            case (-2):
              if (k < Long.SIZE) {
                return ((k & 1) == 0) ? 1L << k : -(1L << k);
              } else {
                return 0;
              }
            default:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        if (result == null) {
          result = readHeader()
          peekedHeader = result
        }
    
        if (result.isEndOfData) return null
    
        return result
      }
    
      /**
       * Consume the next header in the stream and return it. If there is no header to read because we
       * have reached a limit, this returns [END_OF_DATA].
       */
      internal fun readHeader(): DerHeader {
        require(peekedHeader == null)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top