Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 134 for 42 (0.22 sec)

  1. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

            assertEquals(3, configHelper.getLoadCallCount());
        }
    
        public void test_load_returnsExpectedValue() {
            configHelper.setLoadCallback(() -> 42);
            assertEquals(42, configHelper.load());
    
            configHelper.setLoadCallback(() -> 0);
            assertEquals(0, configHelper.load());
    
            configHelper.setLoadCallback(() -> -1);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 00:03:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            // Act + Assert
            CIFSException ex = assertThrows(CIFSException.class, () -> handle.hasCapability(42));
            assertEquals("capability check failed", ex.getMessage());
            verify(handle).hasCapability(42);
        }
    
        @Test
        @DisplayName("getSendBufferSize(): returns configured value")
        void getSendBufferSize_returns() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            SmbComLockingAndX cmd = new SmbComLockingAndX(cfg);
            setField(cmd, "fid", 42);
            setField(cmd, "typeOfLock", (byte) 0x07);
            setField(cmd, "newOpLockLevel", (byte) 0x02);
            String repr = cmd.toString();
            assertTrue(repr.contains("fid=42"));
            assertTrue(repr.contains("typeOfLock=7"));
            assertTrue(repr.contains("newOplockLevel=2"));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacGroupTest.java

    import jcifs.smb.SID;
    
    /**
     * Tests for the {@link PacGroup} class.
     */
    class PacGroupTest {
    
        private SID mockSid;
        private PacGroup pacGroup;
        private final int attributes = 42;
    
        @BeforeEach
        void setUp() {
            // Mock the SID object
            mockSid = mock(SID.class);
            pacGroup = new PacGroup(mockSid, attributes);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/plugins/form-validator/uk.js

    !1;var b=!1,c=[];c=a.split("");var d=Number(c[7]+c[8]),e=c[0],f=c[1];if(0===e&&f>0)return!1;for(var g=0,h=0;h<7;h++)g+=c[h]*(8-h);for(var i=0,j=0,k=8;k>=2;k--)i+=c[j]*k,j++;for(;g>0;)g-=97;return g=Math.abs(g),d===g&&(b=!0),b||(g%=97,g>=55?g-=55:g+=42,g===d&&(b=!0)),b},errorMessage:"",errorMessageKey:"badUKVatAnswer"}),a.formUtils.addValidator({name:"ukutr",validatorFunction:function(a){var b=[0,6,7,8,9,10,5,4,3,2],c=[2,1,9,8,7,6,5,4,3,2,1],d=0;if(/\d{10}/.test(a)&&10===a.length){for(var e=0;e<1...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComReadAndXResponse.java

            final int start = bufferIndex;
    
            bufferIndex += 2; // reserved
            dataCompactionMode = readInt2(buffer, bufferIndex);
            bufferIndex += 4; // 2 reserved
            dataLength = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            dataOffset = readInt2(buffer, bufferIndex);
            bufferIndex += 12; // 10 reserved
    
            return bufferIndex - start;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

    @NullUnmarked
    public class Murmur3Hash32Test extends TestCase {
      public void testKnownIntegerInputs() {
        assertHash(593689054, murmur3_32().hashInt(0));
        assertHash(-189366624, murmur3_32().hashInt(-42));
        assertHash(-1134849565, murmur3_32().hashInt(42));
        assertHash(-1718298732, murmur3_32().hashInt(Integer.MIN_VALUE));
        assertHash(-1653689534, murmur3_32().hashInt(Integer.MAX_VALUE));
      }
    
      public void testKnownLongInputs() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        void testReadParametersWireFormat() throws SMBProtocolDecodingException {
            byte[] buffer = new byte[256];
            response.setParametersWireFormatReturn(42);
            int result = response.readParametersWireFormat(buffer, 0, buffer.length);
            assertEquals(42, result);
        }
    
        @Test
        @DisplayName("Test readDataWireFormat")
        void testReadDataWireFormat() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/hash/HashFunctionBenchmark.java

     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class HashFunctionBenchmark {
    
      // Use a statically configured random instance for all of the benchmarks
      private static final Random random = new Random(42);
    
      @Param({"10", "1000", "100000", "1000000"})
      private int size;
    
      @Param HashFunctionEnum hashFunctionEnum;
    
      private byte[] testBytes;
    
      @BeforeExperiment
      void setUp() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                assertEquals(0xDEF0, testBlock.getMid());
            }
    
            @Test
            @DisplayName("Test sign sequence property")
            void testSignSeqProperty() {
                testBlock.setSignSeq(42);
                assertEquals(42, testBlock.getSignSeq());
            }
    
            @Test
            @DisplayName("Test override timeout property")
            void testOverrideTimeoutProperty() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top