Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 3,858 for full (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                assertEquals(mockConfig, configField.get(request));
            }
    
            @Test
            @DisplayName("Should handle null configuration")
            void testConstructorWithNullConfig() {
                assertDoesNotThrow(() -> {
                    Smb2EchoRequest request = new Smb2EchoRequest(null);
                    assertNotNull(request);
                });
            }
        }
    
        @Nested
        @DisplayName("CreateResponse Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

        @Test
        @DisplayName("Test with null pipe name")
        void testWithNullPipeName() {
            // Given
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, null, TEST_DATA, 0, TEST_DATA.length);
    
            // When
            String result = transCallNamedPipe.toString();
    
            // Then
            assertNotNull(result);
            assertTrue(result.contains("pipeName=null"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            byte[] zeroBytes = new byte[16];
            Arrays.fill(zeroBytes, (byte) 0);
    
            Smb2LeaseKey key = new Smb2LeaseKey(zeroBytes);
    
            assertTrue(key.isZero());
            assertArrayEquals(zeroBytes, key.getKey());
        }
    
        @Test
        @DisplayName("Should reject null key")
        void testNullKey() {
            assertThrows(IllegalArgumentException.class, () -> new Smb2LeaseKey(null));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/FEATURE.yml

    #
    
    # https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
    
    name: Feature request
    description: File a proposal for new feature, improvement
    labels: ["enhancement"]
    
    body:
      - type: markdown
        attributes:
          value: |
            Thanks for taking the time to fill out this new feature, improvement proposal.
    
      - type: textarea
        id: message
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:30:05 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

        }
    
        @Test
        @DisplayName("Should handle null configuration gracefully")
        void testNullConfiguration() {
            // When - constructor accepts null config without throwing
            Smb2ReadResponse responseWithNull = new Smb2ReadResponse(null, outputBuffer, outputBufferOffset);
    
            // Then - response is created successfully
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

      if (result.containsInvalidLabelLengths()) return null
    
      return result
    }
    
    internal fun idnToAscii(host: String): String? {
      val bufferA = Buffer().writeUtf8(host)
      val bufferB = Buffer()
    
      // 1. Map, from bufferA to bufferB.
      while (!bufferA.exhausted()) {
        val codePoint = bufferA.readUtf8CodePoint()
        if (!IDNA_MAPPING_TABLE.map(codePoint, bufferB)) return null
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/NegTokenInitTest.java

            NegTokenInit p4 = new NegTokenInit(tokenTag4);
            assertArrayEquals(mic, p4.getMechanismListMIC(), "MIC should be parsed from tag [4]");
    
            // Tag [3]
            byte[] tokenTag3 = buildInitToken(new ASN1ObjectIdentifier[] { OID_KRB }, null, null, mic, false, null, null, null);
            NegTokenInit p3 = new NegTokenInit(tokenTag3);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. docs/smb3-features/01-smb3-lease-design.md

        }
        return false;  // Fall back to oplock logic
    }
    
    public boolean canCacheWrite() {
        if (leaseKey != null) {
            LeaseEntry entry = leaseManager.getLease(leaseKey);
            return entry != null && entry.hasWriteCache();
        }
        return false;
    }
    
    public boolean canCacheHandle() {
        if (leaseKey != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/IoTestCase.java

          } catch (Exception ignore) {
            // probably URISyntaxException or IllegalArgumentException
            // fall back to copying URLs to files in the testDir == null block below
          }
        }
    
        if (testDir == null) {
          // testdata resources aren't file:// urls, so create a directory to store them in and then
          // copy the resources to the filesystem as needed
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

         */
        public byte[] getBuffer() {
            return buf;
        }
    
        /**
         * Aligns the buffer index to the specified boundary with a fill value.
         *
         * @param boundary the alignment boundary
         * @param value the fill value for padding
         * @return the number of bytes added for alignment
         */
        public int align(final int boundary, final byte value) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top