Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 341 for revert (0.12 sec)

  1. guava/src/com/google/common/primitives/Chars.java

        Arrays.sort(array, fromIndex, toIndex);
        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Chars.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(char[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Floats.java

        Arrays.sort(array, fromIndex, toIndex);
        reverse(array, fromIndex, toIndex);
      }
    
      /**
       * Reverses the elements of {@code array}. This is equivalent to {@code
       * Collections.reverse(Floats.asList(array))}, but is likely to be more efficient.
       *
       * @since 23.1
       */
      public static void reverse(float[] array) {
        checkNotNull(array);
        reverse(array, 0, array.length);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. docs/zh-hant/docs/async.md

    使用 `async` 和 `await` 的風格在語言中相對較新。
    
    但它使處理異步程式碼變得更加容易。
    
    相同的語法(或幾乎相同的語法)最近也被包含在現代 JavaScript(無論是瀏覽器還是 NodeJS)中。
    
    但在此之前,處理異步程式碼要更加複雜和困難。
    
    在較舊的 Python 版本中,你可能會使用多執行緒或 <a href="https://www.gevent.org/" class="external-link" target="_blank">Gevent</a>。但這些程式碼要更難以理解、調試和思考。
    
    在較舊的 NodeJS / 瀏覽器 JavaScript 中,你會使用「回呼」,這可能會導致“回呼地獄”。
    
    ## 協程
    
    **協程** 只是 `async def` 函式所回傳的非常特殊的事物名稱。Python 知道它是一個類似函式的東西,可以啟動它,並且在某個時刻它會結束,但它也可能在內部暫停 ⏸,只要遇到 `await`。
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       * Invoked to request the service to stop.
       *
       * <p>By default this method does nothing.
       *
       * <p>Currently, this method is invoked while holding a lock. If an implementation of this method
       * blocks, it can prevent this service from changing state. If you need to performing a blocking
       * operation in order to trigger shutdown, consider instead registering a listener and
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/SingletonContextTest.java

                log.error("Failed to reset SingletonContext instance", e);
                fail("Failed to reset SingletonContext instance: " + e.getMessage());
            }
            // Clear system properties that might affect the test
            System.clearProperty("jcifs.properties");
            System.clearProperty("java.protocol.handler.pkgs");
            // Clear jcifs-specific properties to prevent test interference
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. src/bufio/example_test.go

    		fmt.Println(scanner.Text()) // Println will add back the final '\n'
    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "reading standard input:", err)
    	}
    }
    
    // Return the most recent call to Scan as a []byte.
    func ExampleScanner_Bytes() {
    	scanner := bufio.NewScanner(strings.NewReader("gopher"))
    	for scanner.Scan() {
    		fmt.Println(len(scanner.Bytes()) == 6)
    	}
    	if err := scanner.Err(); err != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                assertEquals(expectedServer, binding.getServer());
                assertEquals(expectedEndpoint, binding.getEndpoint());
            }
    
            @ParameterizedTest
            @DisplayName("Should reject invalid binding URLs")
            @ValueSource(strings = { "invalid_url", "proto:", "proto:server[]", "proto:[key=]", "proto:[=value]", "proto:server[endpoint=]",
                    "proto:[endpoint=]" })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            this.dialectRevision = SMBUtil.readInt2(buffer, bufferIndex);
            final int negotiateContextCount = SMBUtil.readInt2(buffer, bufferIndex + 2);
    
            // Validate negotiate context count - prevent excessive memory allocation
            if (negotiateContextCount < 0 || negotiateContextCount > 100) {
                throw new SMBProtocolDecodingException("Invalid negotiate context count: " + negotiateContextCount + " (must be 0-100)");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  9. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

      }
    
      override fun flush() {
      }
    
      override fun close() {
      }
    }
    
    @SuppressSignatureCheck
    object AndroidLog {
      private const val MAX_LOG_LENGTH = 4000
    
      // Keep references to loggers to prevent their configuration from being GC'd.
      private val configuredLoggers = CopyOnWriteArraySet<Logger>()
    
      private val knownLoggers =
        LinkedHashMap<String, String>()
          .apply {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

                bufferedRequestBody.close()
              }
            } else {
              exchange.noRequestBody()
              if (!exchange.connection.isMultiplexed) {
                // If the "Expect: 100-continue" expectation wasn't met, prevent the HTTP/1 connection
                // from being reused. Otherwise we're still obligated to transmit the request body to
                // leave the connection in a consistent state.
                exchange.noNewExchangesOnConnection()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top