Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 464 for AVOID (0.01 sec)

  1. android/guava-tests/test/com/google/common/math/MathTesting.java

      static final Iterable<Integer> ALL_INTEGER_CANDIDATES;
    
      static {
        ImmutableSet.Builder<Integer> intValues = ImmutableSet.builder();
        // Add boundary values manually to avoid over/under flow (this covers 2^N for 0 and 31).
        intValues.add(Integer.MAX_VALUE - 1, Integer.MAX_VALUE);
        // Add values up to 40. This covers cases like "square of a prime" and such.
        for (int i = 1; i <= 40; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * family. <b>Avoid</b> creating a mock or stub {@code Future}. Mock and stub implementations are
     * fragile because they assume that only certain methods will be called and because they often
     * implement subtleties of the API improperly.
     *
     * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * family. <b>Avoid</b> creating a mock or stub {@code Future}. Mock and stub implementations are
     * fragile because they assume that only certain methods will be called and because they often
     * implement subtleties of the API improperly.
     *
     * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt

      private val trigger: () -> Unit,
    ) : Sink by delegate {
      private var bytesWritten = 0L
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        if (byteCount == 0L) return // Avoid double-triggering.
    
        if (bytesWritten == triggerByteCount) {
          source.skip(byteCount)
          return
        }
    
        val toWrite = minOf(byteCount, triggerByteCount - bytesWritten)
        bytesWritten += toWrite
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. misc/chrome/gophertool/gopher.js

    function urlForInput(t) {
        if (!t) {
            return null;
        }
    
        if (numericRE.test(t)) {
            if (t < 150000) {
                // We could use the golang.org/cl/ handler here, but
                // avoid some redirect latency and go right there, since
                // one is easy. (no server-side mapping)
                return "https://github.com/golang/go/issues/" + t;
            }
            return "https://golang.org/cl/" + t;
        }
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sat Jul 11 14:36:33 UTC 2015
    - 1.2K bytes
    - Viewed (0)
  6. src/main/assemblies/files/fess.in.bat

    set FESS_MAX_MEM=1g
    )
    
    if NOT "%FESS_HEAP_SIZE%" == "" (
    set FESS_MIN_MEM=%FESS_HEAP_SIZE%
    set FESS_MAX_MEM=%FESS_HEAP_SIZE%
    )
    
    REM min and max heap sizes should be set to the same value to avoid
    REM stop-the-world GC pauses during resize, and so that we can lock the
    REM heap in memory on startup to prevent any of it from being swapped
    REM out.
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Xms%FESS_MIN_MEM% -Xmx%FESS_MAX_MEM%
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. .github/PULL_REQUEST_TEMPLATE.md

    <!--
    This section can be blank if this pull request does not require a release note.
    
    When adding links which point to resources within git repositories, like
    KEPs or supporting documentation, please reference a specific commit and avoid
    linking directly to the master branch. This ensures that links reference a
    specific point in time, rather than a document that may change over time.
    
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri Jun 06 14:40:00 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

                version = artifact.getBaseVersion();
            }
    
            // TODO also do this logging for other metadata?
            // TODO figure out way to avoid duplicated message
            if (getLogger().isDebugEnabled()) {
                if (!version.equals(artifact.getBaseVersion())) {
                    String message = artifact.getArtifactId() + ": resolved to version " + version;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            srvsvc.ShareInfo1 shareInfo1 = new srvsvc.ShareInfo1();
            shareInfo1.netname = "TestShare";
            shareInfo1.type = 1;
            shareInfo1.remark = "Test Remark";
    
            // Set up deferred buffer chain to avoid NPE
            mockDeferredBuffer.deferred = mockDeferredBuffer;
    
            shareInfo1.encode(mockNdrBuffer);
    
            // Verify the encode operations
            verify(mockNdrBuffer).align(4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        }
    
        @Test
        @DisplayName("Test write operations")
        void testWriteOperations() {
            byte[] dst = new byte[1024];
    
            // Initialize transaction buffer to avoid NPE
            transaction.setBuffer(new byte[SmbComTransaction.TRANSACTION_BUF_SIZE]);
    
            // Test parameter words wire format
            int paramWords = transaction.writeParameterWordsWireFormat(dst, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top