Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 145 for getDir (0.15 seconds)

  1. src/test/java/jcifs/smb/SecurityBlobTest.java

            data[0] = 99;
            assertFalse(original.equals(copy), "After mutation, original should not equal previous clone");
    
            // Ensure arrays are independent: mutate clone's buffer via getter
            copy.get()[1] = 77;
            assertNotEquals(original.toString(), copy.toString(), "Mutating clone should not affect original");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            // Given
            Smb2CloseRequest request = new Smb2CloseRequest(mockConfig, emptyFileId);
    
            // When
            request.setFileId(testFileId);
    
            // Then - verify through internal state (would need getter or reflection in real scenario)
            // Since we can't directly verify the internal state, we create a new request to test
            Smb2CloseRequest newRequest = new Smb2CloseRequest(mockConfig, testFileId);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy

        @Internal
        protected File getPidFile() {
            return new File(baseDir, 'pid')
        }
    
        /** Reads the pid file and returns the process' pid */
        @Internal
        int getPid() {
            return Integer.parseInt(pidFile.getText('UTF-8').trim())
        }
    
        /** Returns the file the process writes its bound ports to. Defaults to "ports" inside baseDir. */
        @Internal
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Ordering.java

          if (leftCode != rightCode) {
            return leftCode < rightCode ? -1 : 1;
          }
    
          // identityHashCode collision (rare, but not as rare as you'd think)
          int result = getUid(left).compareTo(getUid(right));
          if (result == 0) {
            throw new AssertionError(); // extremely, extremely unlikely.
          }
          return result;
        }
    
        @Override
        public String toString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            ntlmConnection.disconnect();
    
            // Assert
            verify(mockConnection).disconnect();
            // Connection should be closed after disconnect
        }
    
        /**
         * Test simple getter methods that should trigger the handshake.
         * We mock a simple 200 OK response to test the handshake is called.
         * @throws IOException
         */
        @Test
        void testGettersTriggerHandshake() throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/ntlmssp/Type3Message.java

        }
    
        /**
         * Returns the message integrity code (MIC) for this Type-3 message.
         *
         * @return A <code>byte[]</code> containing the message integrity code.
         */
        public byte[] getMic() {
            return this.mic;
        }
    
        /**
         * Sets the message integrity code (MIC) for this Type-3 message.
         *
         * @param mic
         *            NTLM mic to set (16 bytes)
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 32.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            assertNotNull(trans2SetFileInfo);
    
            // Configuration is accessed during initialization
            // Verify at least that getPid() and getTransactionBufferSize() were called
        }
    
        @DisplayName("Test FileInformation encode returning different sizes")
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 10, 100, 1000 })
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            void testInitialTotalBytesWrittenValue() {
                assertEquals(0, response.getTotalBytesWritten());
            }
        }
    
        @Nested
        @DisplayName("Getter Tests")
        class GetterTests {
    
            @Test
            @DisplayName("Should get chunksWritten value")
            void testGetChunksWritten() {
                // Initial value should be 0
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                        "Should throw DcerpcException for missing endpoint");
            }
        }
    
        @Nested
        @DisplayName("Getter Method Tests")
        class GetterTests {
    
            @Test
            @DisplayName("Should return correct transport context")
            void testGetTransportContext() throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  10. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    The Gradle codebase has evolved over time and has a mixture of simple getter/setter methods, Provider API and things in between.  It can be hard to follow best practices because Gradle provided types are reused in unexpected ways and extended by third party plugins.
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 10K bytes
    - Click Count (0)
Back to Top