Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 3,312 for inst (0.02 sec)

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

                assertEquals(-10L, mock.length());
            }
        }
    
        @ParameterizedTest(name = "getType returns {0}")
        @ValueSource(ints = { 0, 1, -5, Integer.MAX_VALUE })
        @DisplayName("Parameterized type values")
        void typeParameterized(int type) {
            FileEntry mock = mock(FileEntry.class);
            when(mock.getType()).thenReturn(type);
            assertEquals(type, mock.getType());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/FileNotifyInformationTest.java

            }
        }
    
        // Helper methods
        private boolean isPowerOfTwo(int n) {
            return n > 0 && (n & (n - 1)) == 0;
        }
    
        private FileNotifyInformation createImplementation(final int action, final String fileName) {
            return new FileNotifyInformation() {
                @Override
                public int getAction() {
                    return action;
                }
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

        })
        void testWriteParametersWireFormatWithDifferentLevels(int infoLevel, int expectedMappedValue) {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, infoLevel);
    
            byte[] buffer = new byte[512];
            trans2QueryFSInfo.writeParametersWireFormat(buffer, 0);
    
            // Check mapped information level
            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

            private byte[] data;
            private int decodeCallCount = 0;
            private boolean throwOnDecode = false;
    
            public TestCreateContextResponse(byte[] name) {
                this.name = name;
            }
    
            @Override
            public byte[] getName() {
                return name;
            }
    
            @Override
            public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        }
    
        @ParameterizedTest
        @ValueSource(ints = { NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE, NtlmFlags.NTLMSSP_NEGOTIATE_OEM, NtlmFlags.NTLMSSP_NEGOTIATE_NTLM,
                NtlmFlags.NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED, NtlmFlags.NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED })
        @DisplayName("Should handle various NTLM flags")
        void testVariousNTLMFlags(int flag) {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/index.md

    * resources
    * providers
    * services
    * injectables
    * components
    
    ## **FastAPI** plug-ins { #fastapi-plug-ins }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/DoublesTest.java

      public void testConcat_overflow_negative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 15;
        assertThat(dim1 * dim2).isLessThan(0);
        testConcatOverflow(dim1, dim2);
      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
      public void testConcat_overflow_nonNegative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 16;
        assertThat(dim1 * dim2).isAtLeast(0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/LongsTest.java

      public void testConcat_overflow_negative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 15;
        assertThat(dim1 * dim2).isLessThan(0);
        testConcatOverflow(dim1, dim2);
      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
      public void testConcat_overflow_nonNegative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 16;
        assertThat(dim1 * dim2).isAtLeast(0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            assertTrue(namesObj instanceof lsarpc.LsarTransNameArray);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 1, 5, 10, 20, 50 })
        void constructor_shouldHandleVariousSidArraySizes(int size) {
            // Arrange
            testSids = new jcifs.SID[size];
            for (int i = 0; i < size; i++) {
                testSids[i] = mock(jcifs.SID.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/ShortsTest.java

      public void testConcat_overflow_negative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 15;
        assertThat(dim1 * dim2).isLessThan(0);
        testConcatOverflow(dim1, dim2);
      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
      public void testConcat_overflow_nonNegative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 16;
        assertThat(dim1 * dim2).isAtLeast(0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
Back to top