Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,182 for Check (0.02 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

        private var bytesReceived = 0L
        private var closed = false
    
        @Throws(IOException::class)
        override fun write(
          source: Buffer,
          byteCount: Long,
        ) {
          check(!closed) { "closed" }
          if (contentLength != -1L && bytesReceived + byteCount > contentLength) {
            throw ProtocolException(
              "expected $contentLength bytes but received ${bytesReceived + byteCount}",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      }
    
      /**
       * Asserts that the collection under test contains exactly the given elements, respecting
       * cardinality but not order. Subclasses may override this method to provide stronger assertions,
       * e.g., to check ordering in lists, but realize that <strong>unless a test extends {@link
       * com.google.common.collect.testing.testers.AbstractListTester AbstractListTester}, a call to
       * {@code expectContents()} invokes this version</strong>.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    		b.WriteString("1234")
    		tw.check(t, "", "")
    		b.WriteString("56789012")   // longer than BufSize
    		tw.check(t, "12345678", "") // but not enough (after filling the partially-filled buffer)
    		b.Flush()
    		tw.check(t, "123456789012", "")
    	}
    	{
    		tw := &teststringwriter{}
    		b := NewWriterSize(tw, BufSize)
    		b.WriteString("123456789")   // long string, empty buffer:
    		tw.check(t, "", "123456789") // use WriteString
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 01:08:54 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        /*
         * Since we use AtomicReferenceFieldUpdaterAtomicHelper by default, we'll "obviously" use it
         * even when Unsafe isn't available. But it's nice to have a check here to make sure that
         * nothing somehow goes wrong as the JDK restricts access to Unsafe.
         */
        checkHelperVersion(NO_UNSAFE, "AtomicReferenceFieldUpdaterAtomicHelper");
        /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      @Override
      int indexOf(@Nullable Object target) {
        if (!contains(target)) {
          return -1;
        }
        // The cast is safe because of the contains check—at least for any reasonable Comparable class.
        @SuppressWarnings("unchecked")
        // requireNonNull is safe because of the contains check.
        C c = (C) requireNonNull(target);
        return (int) domain.distance(first(), c);
      }
    
      @Override
      public UnmodifiableIterator<C> iterator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. cmd/healthcheck-router.go

    func registerHealthCheckRouter(router *mux.Router) {
    	// Healthcheck router
    	healthRouter := router.PathPrefix(healthCheckPathPrefix).Subrouter()
    
    	// Cluster check handler to verify cluster is active
    	healthRouter.Methods(http.MethodGet).Path(healthCheckClusterPath).HandlerFunc(httpTraceAll(ClusterCheckHandler))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 23 11:12:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. lib/fips140/Makefile

    # license that can be found in the LICENSE file.
    
    # Rules for building and testing new FIPS snapshots.
    # For example:
    #
    #	make v1.2.3.zip
    #	make v1.2.3.test
    #
    # and then if changes are needed, check them into master
    # and run 'make v1.2.3.rm' and repeat.
    #
    # Note that once published a snapshot zip file should never
    # be modified. We record the sha256 hashes of the zip files
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. src/archive/zip/fuzz_test.go

    				t.Fatalf("unable to write previously parsed content: %s", err)
    			}
    		}
    
    		if err := w.Close(); err != nil {
    			t.Fatalf("Unable to write archive: %s", err)
    		}
    
    		// TODO: We may want to check if the archive roundtrips.
    	})
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt

    import java.io.File
    
    val ignoredSubprojects =
        listOf(
            "soak", // soak test
            "distributions-integ-tests", // build distribution testing
            "architecture-test", // sanity check
        )
    
    interface GradleSubprojectProvider {
        val subprojects: List<GradleSubproject>
    
        fun getSubprojectsForFunctionalTest(testConfig: TestCoverage): List<GradleSubproject>
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/LazyLogger.java

      LazyLogger(Class<?> ownerOfLogger) {
        this.loggerName = ownerOfLogger.getName();
      }
    
      Logger get() {
        /*
         * We use double-checked locking. We could the try racy single-check idiom, but that would
         * depend on Logger to not contain mutable state.
         *
         * We could use Suppliers.memoizingSupplier here, but I micro-optimized to this implementation
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top