Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 774 for tido (0.13 sec)

  1. guava/src/com/google/common/math/LongMath.java

       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
       *     is not a power of ten
       */
      @GwtIncompatible // TODO
      @SuppressWarnings("fallthrough")
      // TODO(kevinb): remove after this warning is disabled globally
      public static int log10(long x, RoundingMode mode) {
        checkPositive("x", x);
        int logFloor = log10Floor(x);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. cmd/bitrot-whole.go

    	filePath  string
    	shardSize int64 // This is the shard size of the erasure logic
    	hash.Hash       // For bitrot hash
    }
    
    func (b *wholeBitrotWriter) Write(p []byte) (int, error) {
    	err := b.disk.AppendFile(context.TODO(), b.volume, b.filePath, p)
    	if err != nil {
    		return 0, err
    	}
    	_, err = b.Hash.Write(p)
    	if err != nil {
    		return 0, err
    	}
    	return len(p), nil
    }
    
    func (b *wholeBitrotWriter) Close() error {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        final AtomicBoolean shutdown;
    
        Interruptenator(Thread interruptee) {
          this(interruptee, new AtomicBoolean(false));
        }
    
        @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
        Interruptenator(Thread interruptee, AtomicBoolean shutdown) {
          super(
              new Runnable() {
                @Override
                public void run() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. buildSrc/build.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    plugins {
      `kotlin-dsl`
    }
    
    repositories {
      mavenCentral()
    }
    
    dependencies {
      // TODO (https://github.com/square/okhttp/issues/8612) we will need a consistent version
      // 7.1.0 is used because it avoids this error
      // Could not create an instance of type aQute.bnd.gradle.BundleTaskExtension.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:41:00 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

              if (nanoTime >= waitUntil) return@withLock null
              val editCountBefore = editCount
              yieldUntil { nanoTime >= waitUntil || editCount > editCountBefore }
            }
            // TODO report compiler bug
            TODO("Can't get here")
          }
        }
    
        override fun put(element: T) {
          taskRunner.withLock {
            delegate.put(element)
            editCount++
          }
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

              afterRanInterruptiblyFailure(error);
            }
          }
        }
      }
    
      @SuppressWarnings({
        "Interruption", // We are restoring an interrupt on this thread.
        "ThreadPriorityCheck", // TODO: b/175898629 - Consider onSpinWait.
      })
      private void waitForInterrupt(Thread currentThread) {
        /*
         * If someone called cancel(true), it is possible that the interrupted bit hasn't been set yet.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       */
      public ThreadFactory build() {
        return doBuild(this);
      }
    
      // Split out so that the anonymous ThreadFactory can't contain a reference back to the builder.
      // At least, I assume that's why. TODO(cpovirk): Check, and maybe add a test for this.
      @SuppressWarnings("ThreadPriorityCheck") // We only propagate user requests (which we discourage).
      private static ThreadFactory doBuild(ThreadFactoryBuilder builder) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public abstract class AbstractMultisetSetCountTester<E> extends AbstractMultisetTester<E> {
      /*
       * TODO: consider adding MultisetFeatures.SUPPORTS_SET_COUNT. Currently we
       * assume that using setCount() to increase the count is permitted iff add()
       * is permitted and similarly for decrease/remove(). We assume that a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/Cache.java

      /**
       * Returns the value associated with {@code key} in this cache, or {@code null} if there is no
       * cached value for {@code key}.
       *
       * @since 11.0
       */
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this?
      @Nullable V getIfPresent(@CompatibleWith("K") Object key);
    
      /**
       * Returns the value associated with {@code key} in this cache, obtaining that value from {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/response-change-status-code.md

    Pero todavía quieres poder filtrar y convertir los datos que devuelves con un `response_model`.
    
    Para esos casos, puedes usar un parámetro `Response`.
    
    ## Usa un parámetro `Response`
    
    Puedes declarar un parámetro de tipo `Response` en tu *función de path operation* (como puedes hacer para cookies y headers).
    
    Y luego puedes establecer el `status_code` en ese objeto de response *temporal*.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top