Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 250 for IsSpace (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        }
    
        // Parameterized tests for String edge cases on getName
        static Stream<Arguments> nameProvider() {
            return Stream.of(Arguments.of("", "empty string is allowed"), Arguments.of(" ", "single space is preserved"),
                    Arguments.of("复杂名.txt", "unicode name is preserved"), Arguments.of(null, "null name is passed through"));
        }
    
        @ParameterizedTest(name = "getName returns as-set: [{0}] - {1}")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

        }
    
        @Test
        @DisplayName("Test decode with valid data")
        void testDecodeWithValidData() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[30]; // Extra space to test offset
            int bufferIndex = 5; // Start at offset 5
            long expectedAllocationSize = 2048L;
            long expectedEndOfFile = 1536L;
            int expectedNumberOfLinks = 5;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/LoggingOutputStream.java

                flush();
                return;
            }
    
            if (end == buffer.length) {
                if (start != 0) {
                    // first try shifting the used buffer back to the beginning to make space
                    int len = end - start;
                    System.arraycopy(buffer, start, buffer, 0, len);
                    start = 0;
                    end = len;
                } else {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/resources/eclipse.settings/org.eclipse.jdt.core.prefs

    org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
    org.eclipse.jdt.core.formatter.comment.line_length=140
    org.eclipse.jdt.core.formatter.lineSplit=140
    org.eclipse.jdt.core.formatter.tabulation.char=space
    org.eclipse.jdt.core.formatter.tabulation.size=4
    
    # Silence warnings about references to jdk internals. We intentionally use some
    # and have much tighter control of the warnings in the forbidden APIs gradle
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 16:53:28 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

                    + "                        f\n"
                    + "g               g\n"
                    + "h\\u0020h\n"
                    + "\\   i=i\n"
                    + "j=\\   j\n"
                    + "space=\\   c\n"
                    + "\n"
                    + "dblbackslash=\\\\\n"
                    + "                        \n";
    
            java.util.Properties props1 = new java.util.Properties();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 09 14:29:03 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        @Test
        @DisplayName("Test decode with buffer offset")
        void testDecodeWithBufferOffset() throws SMBProtocolDecodingException {
            // Prepare test data with offset
            byte[] buffer = new byte[20]; // Extra space to test offset
            int bufferIndex = 7; // Start at offset 7
            long expectedIndexNumber = 0xFEDCBA9876543210L;
    
            // Encode test data at offset
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/NameTest.java

            // Test that non-space characters in padding are preserved in length calculation
            byte[] src = new byte[100];
            src[0] = 0x20;
    
            // Encode "AB" followed by non-space padding
            src[1] = 'E';
            src[2] = 'B'; // A
            src[3] = 'E';
            src[4] = 'C'; // B
    
            // Use 'X' (0x58) instead of space for padding
            for (int i = 5; i < 31; i += 2) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            assertArrayEquals(expectedData, writtenData);
        }
    
        @Test
        @DisplayName("Test writeDataWireFormat with insufficient buffer space")
        void testWriteDataWireFormatInsufficientBuffer() {
            // Given
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

            when(mockAllocInfo.getFree()).thenReturn(400L);
    
            assertEquals(1000L, mockAllocInfo.getCapacity(), "capacity should match stubbed value");
            assertEquals(400L, mockAllocInfo.getFree(), "free space should match stubbed value");
            verify(mockAllocInfo, times(1)).getCapacity();
            verify(mockAllocInfo, times(1)).getFree();
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. ci/official/containers/ml_build/setup.python.sh

      grep -v "twine" $REQUIREMENTS > requirements_without_twine.txt
      REQUIREMENTS=requirements_without_twine.txt
    fi
    
    # Disable the cache dir to save image space, and install packages
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 30 20:25:44 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top