Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 1,059 for coll (0.16 sec)

  1. guava/src/com/google/common/util/concurrent/Internal.java

       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
       * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing
       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/transport/MessageTest.java

            };
        }
    
        @Test
        void testRetainPayload() {
            // Initially, retainPayload should be false
            assertFalse(message.isRetainPayload(), "isRetainPayload should be false initially");
    
            // Call retainPayload and check if it becomes true
            message.retainPayload();
            assertTrue(message.isRetainPayload(), "isRetainPayload should be true after calling retainPayload");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 NetShareEnum response message for enumerating network shares on a server.
     * This class handles the response data from a NetShareEnum RPC call, which returns
     * information about all available shares on the target server.
     */
    public class NetShareEnumResponse extends SmbComTransactionResponse {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/RC4.java

     * This class provides RC4 encryption/decryption functionality used in SMB1 protocol operations.
     */
    public class RC4 {
    
        byte[] s;
        int i, j;
    
        /**
         * Default constructor for RC4 cipher.
         * Call init() to initialize with a key before use.
         */
        public RC4() {
        }
    
        /**
         * Constructs and initializes an RC4 cipher with the specified key.
         *
         * @param key the encryption key
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. ci/official/requirements_updater/README.md

    `requirements_lock_3_12.txt` for `Python 3.12`).
    
    To update the lock files, make sure
    `ci/official/requirements_updater/requirements.in` contains the desired direct
    dependencies list and then execute the following command (which will call
    [pip-compile](https://pypi.org/project/pip-tools/) under the hood):
    
    ```
    bazel run //ci/official/requirements_updater:requirements.update --repo_env=HERMETIC_PYTHON_VERSION=3.12
    ```
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat Jun 29 00:19:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/bufio/net_test.go

    	"net"
    	"path/filepath"
    	"strings"
    	"sync"
    	"testing"
    )
    
    // TestCopyUnixpacket tests that we can use bufio when copying
    // across a unixpacket socket. This used to fail due to an unnecessary
    // empty Write call that was interpreted as an EOF.
    func TestCopyUnixpacket(t *testing.T) {
    	tmpDir := t.TempDir()
    	socket := filepath.Join(tmpDir, "unixsock")
    
    	// Start a unixpacket server.
    	addr := &net.UnixAddr{
    		Name: socket,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 19:37:07 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        assertThat(e).hasCauseThat().isEqualTo(exception);
      }
    
      public static <T> Callable<T> callableThrowing(Exception exception) {
        return new Callable<T>() {
          @Override
          public T call() throws Exception {
            throw exception;
          }
        };
      }
    
      private static Runnable runnableThrowing(RuntimeException e) {
        return 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
    - 4.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

        // Verify that the listener executed in a reasonable amount of time.
        Assert.assertTrue(countDownLatch.await(1L, SECONDS));
    
        try {
          future.get();
          Assert.fail("This call was supposed to throw an ExecutionException");
        } catch (ExecutionException expected) {
          Assert.assertSame(expectedCause, expected.getCause());
        }
      }
    
      public void assertTimeout() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java

    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Response for SMB1 TRANS_CALL_NAMED_PIPE transaction.
     *
     * This response contains the data returned from the named pipe
     * after a call transaction has been processed by the server.
     */
    public class TransCallNamedPipeResponse extends SmbComTransactionResponse {
    
        private final byte[] outputBuffer;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. docs/iam/opa.md

    package httpapi.authz
    
    import input
    
    default allow = false
    
    # Allow the root user to perform any action.
    allow {
     input.owner == true
    }
    
    # All other users may do anything other than call PutObject
    allow {
     input.action != "s3:PutObject"
     input.owner == false
    }
    EOF
    ```
    
    Then load the policy via OPA's REST API.
    
    ```
    curl -X PUT --data-binary @example.rego \
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top