Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 683 for forSet (0.21 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        Formatter logFormatter =
            new Formatter() {
              @Override
              public String format(LogRecord record) {
                return formatMessage(record);
              }
            };
        for (LogRecord record : logHandler.getStoredLogRecords()) {
          assertThat(logFormatter.format(record)).doesNotContain("NoOpService");
        }
      }
    
      public void testStartupFailureOutput() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

            assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, transWaitNamedPipe.getSubCommand());
        }
    
        @Test
        @DisplayName("Multiple wire format operations should be consistent")
        void testMultipleWireFormatOperations() {
            // Arrange
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName);
            byte[] dst1 = new byte[10];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SID.java

         * @throws SmbException if the textual format is invalid
         */
        public SID(final String textual) throws SmbException {
            final StringTokenizer st = new StringTokenizer(textual, "-");
            if (st.countTokens() < 3 || !st.nextToken().equals("S")) {
                // need S-N-M
                throw new SmbException("Bad textual SID format: " + textual);
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

        /**
         * Record a write operation error
         */
        public void recordWriteError() {
            recordError();
        }
    
        @Override
        public String toString() {
            return String.format(
                    "RdmaStatistics[reads=%d, writes=%d, sends=%d, receives=%d, "
                            + "bytes=%d, errors=%d, errorRate=%.3f, activeConnections=%d, activeMemRegions=%d]",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         * is used internally be jCIFS when parsing SMB URLs.
         *
         * @param tc the CIFS context to use
         * @param userInfo the user information string in the format "domain;user:pass"
         */
        public NtlmPasswordAuthentication(final CIFSContext tc, final String userInfo) {
            super(userInfo, tc.getConfig().getDefaultDomain(),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      public void testAddAll_nullSupported() {
        List<E> containsNull = singletonList(null);
        assertTrue("addAll(containsNull) should return true", collection.addAll(containsNull));
        /*
         * We need (E) to force interpretation of null as the single element of a
         * varargs array, not the array itself
         */
        expectAdded((E) null);
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

        testAddAndRemove(new ConcurrentSkipListMap<>());
      }
    
      public void testAddAndRemove_mapMakerMap() throws Exception {
        MapMaker mapMaker = new MapMaker();
        // force MapMaker to use its own MapMakerInternalMap
        mapMaker.useCustomMap = true;
        testAddAndRemove(mapMaker.makeMap());
      }
    
      private void testAddAndRemove(ConcurrentMap<String, AtomicInteger> map)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            context2.close();
        }
    
        private String bytesToHex(byte[] bytes) {
            StringBuilder result = new StringBuilder();
            for (byte b : bytes) {
                result.append(String.format("%02x", b));
            }
            return result.toString();
        }
    
        private boolean isAllZeros(byte[] array) {
            for (byte b : array) {
                if (b != 0) {
                    return false;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            for (int i = startIndex + bytesWritten; i < dst.length; i++) {
                assertEquals((byte) (i & 0xFF), dst[i]);
            }
        }
    
        @Test
        @DisplayName("Test setup wire format structure")
        void testSetupWireFormatStructure() {
            notifyChange = new NtTransNotifyChange(mockConfig, 0xABCD, 0x12345678, true);
            byte[] dst = new byte[100];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            return handle;
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should throw DcerpcException for invalid URL format")
            void testConstructor_InvalidUrl() {
                String invalidUrl = "invalid:server";
                assertThrows(DcerpcException.class, () -> new DcerpcPipeHandle(invalidUrl, mockContext, false),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top