Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1391 - 1400 of 1,638 for Rust (0.02 sec)

  1. guava-tests/test/com/google/common/io/CloserTest.java

       */
      private void assertSuppressed(Suppression... expected) {
        assertEquals(ImmutableList.copyOf(expected), suppressor.suppressions);
      }
    
      // TODO(cpovirk): Just use addSuppressed+getSuppressed now that we can rely on it.
      /** Suppressor that records suppressions. */
      private static class TestSuppressor implements Closer.Suppressor {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        executor.execute(task);
        assertEquals(1, numCalls.get());
      }
    
      /*
       * Under Android, MyError propagates up and fails the test?
       *
       * TODO(b/218700094): Does this matter to prod users, or is it just a feature of our testing
       * environment? If the latter, maybe write a custom Executor that avoids failing the test when it
       * sees an Error?
       */
      @AndroidIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

        }
    
        /**
         * Tests connectivity to the witness service.
         *
         * @throws IOException if connection fails
         */
        private void testConnection() throws IOException {
            // For now, just test basic connectivity to RPC endpoint
            try (java.net.Socket socket = new java.net.Socket()) {
                socket.connect(new java.net.InetSocketAddress(serverAddress, WITNESS_RPC_PORT), WITNESS_RPC_TIMEOUT_MS);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. cmd/api-headers.go

    	if err := xml.NewEncoder(&buf).Encode(response); err != nil {
    		bugLogIf(GlobalContext, err)
    		return nil
    	}
    	return buf.Bytes()
    }
    
    // Use this encodeResponseList() to support control characters
    // this function must be used by only ListObjects() for objects
    // with control characters, this is a specialized extension
    // to support AWS S3 compatible behavior.
    //
    // Do not use this function for anything other than ListObjects()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

        }
    
        @Test
        @DisplayName("Should handle notification chain with alignment")
        void testNotificationChainAlignment() throws Exception {
            // Given - notifications must be 4-byte aligned
            byte[] buffer = new byte[1024];
            int offset = 0;
    
            setHeaderStart(response, 64);
    
            // Write structure header
            SMBUtil.writeInt2(9, buffer, offset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

         * These methods "should" call checkNotNull. However, I'm wary of accidentally introducing
         * anything that might slow down execution on such a hot path. Given that the methods are only
         * package-private, I feel OK with just not testing them for NPE.
         *
         * Note that testing casValue is particularly dangerous because it uses Unsafe under some
         * versions of Java, and apparently Unsafe can cause SIGSEGV instead of NPE—almost as if it's
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/ExecJob.java

     * This class provides common functionality for job execution including process management,
     * logging configuration, JVM options, and timeout handling.
     *
     * <p>Subclasses must implement the abstract methods to define specific job behavior
     * and execution type identification.</p>
     *
     * @version 1.0
     */
    public abstract class ExecJob {
    
        /** Logger instance for this class */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

            return Succ.class.hashCode() + node.hashCode();
          }
        }
      }
    
      private static final Object PRED = new Object();
    
      // Every value in this map must either be an instance of PredAndSucc with a successorValue of
      // type V, PRED (representing predecessor), or an instance of type V (representing successor).
      private final Map<N, Object> adjacentNodeValues;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        void testProtocolCompliance() throws SMBProtocolDecodingException {
            // Given - exact SMB2 TREE_CONNECT response structure
            byte[] wireData = new byte[] { 0x10, 0x00, // StructureSize (must be 16)
                    0x01, // ShareType (DISK)
                    0x00, // Reserved
                    0x01, 0x00, 0x00, 0x00, // ShareFlags
                    0x08, 0x00, 0x00, 0x00, // Capabilities
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                if (map != null) {
                    synonymMap = map;
                    fst = synonymMap.fst;
                    if (fst == null) {
                        throw new IllegalArgumentException("fst must be non-null");
                    }
                    fstReader = fst.getBytesReader();
                    scratchArc = new FST.Arc<>();
                    clearAttributes();
                }
            }
        }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top