Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 394 for inInts (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            assertTrue(s.contains("Trans2GetDfsReferral["));
            assertTrue(s.contains("filename=/bar"));
            assertTrue(s.contains("maxReferralLevel=0x3"));
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 5, -1, 65534 })
        @DisplayName("referral level variations")
        void testLevels(int level) throws Exception {
            Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("foo");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/HexdumpTest.java

            assertTrue(result.startsWith("00010203"));
            assertEquals(64, result.length()); // 32 bytes * 2 chars per byte
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 1, 16, 32, 64, 128, 256 })
        @DisplayName("Should handle various data sizes")
        void testVariousDataSizes(int size) {
            // Given
            byte[] data = createTestData(size);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      /**
       * Returns a {@code Collector} that accumulates elements into an {@code ImmutableSortedMultiset}
       * whose elements are the result of applying {@code elementFunction} to the inputs, with counts
       * equal to the result of applying {@code countFunction} to the inputs.
       *
       * <p>If the mapped elements contain duplicates (according to {@code comparator}), the first
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                        byte[] sig2 = Arrays.copyOfRange(results[j], SIGNATURE_OFFSET, SIGNATURE_OFFSET + SIGNATURE_LENGTH);
                        assertFalse(Arrays.equals(sig1, sig2), "Different inputs should produce different signatures");
                    }
                }
            }
        }
    
        @Nested
        @DisplayName("Verify Method Tests")
        class VerifyTests {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/LongMathTest.java

            assertEquals(expectedLong, LongMath.binomial(n, k));
          }
        }
      }
    
    
      @GwtIncompatible // Slow
      public void testBinomial_exhaustiveNotOverflowing() {
        // Tests all of the inputs to LongMath.binomial that won't cause it to overflow, that weren't
        // tested in the previous method, for k >= 3.
        for (int k = 3; k < LongMath.biggestBinomials.length; k++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            assertEquals("DFS resolution failed", ex.getMessage());
            verify(handle, times(1)).ensureDFSResolved();
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE })
        @DisplayName("hasCapability(cap): returns configured value and captures argument across edge caps")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            assertEquals("Payload exceeds buffer size", exception.getMessage());
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 10, 100, 500, 1024 })
        void testReadDataWireFormatVariousSizes(int dataSize) throws SMBProtocolDecodingException {
            // Test with various data sizes within buffer limit
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

       * that gets messy here, and we already have null tests for Range.
       */
    
      /*
       * These generators also rely on consecutive integer inputs (not necessarily in order, but no
       * holes).
       */
    
      // SetCreationTester has some tests that pass in duplicates. Dedup them.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/Kerb5ContextTest.java

            CIFSException ex = assertThrows(CIFSException.class, () -> ctx.verifyMIC(data, mic));
            assertTrue(ex.getMessage().contains("Failed to verify MIC"));
        }
    
        @Test
        @DisplayName("verifyMIC with null inputs throws NPE")
        void verifyMIC_nullInputs() {
            assertThrows(NullPointerException.class, () -> ctx.verifyMIC(null, new byte[] { 1 }));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/arm64.go

    	// LDADDx/SWPx/CASx atomic instructions
    	return arm64.IsAtomicInstruction(op)
    }
    
    // IsARM64TBL reports whether the op (as defined by an arm64.A*
    // constant) is one of the TBL-like instructions and one of its
    // inputs does not fit into prog.Reg, so require special handling.
    func IsARM64TBL(op obj.As) bool {
    	switch op {
    	case arm64.AVTBL, arm64.AVTBX, arm64.AVMOVQ:
    		return true
    	}
    	return false
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top