Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 603 for 01 (0.03 seconds)

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

        void zeroSizedCacheDoesNotStore() {
            BufferCacheImpl impl = new BufferCacheImpl(0, 8);
            byte[] supplied = new byte[3];
            supplied[0] = 1;
            supplied[1] = 2;
    
            // Release must not throw and must zero the supplied array
            assertDoesNotThrow(() -> impl.releaseBuffer(supplied));
            for (byte value : supplied) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. .github/workflows/ci.yml

          - name: 'Set up Gradle'
            if: matrix.java == 11 # used only by the integration tests below
            uses: gradle/actions/setup-gradle@39e147cb9de83bb9910b8ef8bd7fff0ee20fcd6f # v6.0.1
          - name: 'Integration Test'
            if: matrix.java == 11
            shell: bash
            run: util/gradle_integration_tests.sh
    
      publish_snapshot:
        name: 'Publish snapshot'
        needs: test
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 22:02:44 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

        }
    
        @Override
        protected int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            byte[] descr;
            final int which = getSubCommand() == NET_SERVER_ENUM2 ? 0 : 1;
    
            try {
                descr = DESCR[which].getBytes("ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. src/archive/tar/reader.go

    }
    
    // readGNUSparsePAXHeaders checks the PAX headers for GNU sparse headers.
    // If they are found, then this function reads the sparse map and returns it.
    // This assumes that 0.0 headers have already been converted to 0.1 headers
    // by the PAX header parsing logic.
    func (tr *Reader) readGNUSparsePAXHeaders(hdr *Header) (sparseDatas, error) {
    	// Identify the version of GNU headers.
    	var is1x0 bool
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  5. tests/chainable_api_test.go

    	}
    
    	// Raw
    	tx = tx.Raw("SELECT ? as x", 1)
    	if tx.Statement.SQL.Len() == 0 {
    		t.Fatalf("Raw SQL expected to be built")
    	}
    	if len(tx.Statement.Vars) != 1 || tx.Statement.Vars[0] != 1 {
    		t.Fatalf("Raw Vars expected to contain 1, got %v", tx.Statement.Vars)
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Jan 31 08:39:40 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            // Test with null
            serverData.oemDomainName = null;
            assertNull(serverData.oemDomainName);
    
            // Test with special characters
            serverData.oemDomainName = "DOMAIN-01.LOCAL";
            assertEquals("DOMAIN-01.LOCAL", serverData.oemDomainName);
    
            // Test with Unicode characters
            serverData.oemDomainName = "ドメイン";
            assertEquals("ドメイン", serverData.oemDomainName);
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/BuildParams.java

        private static String propertyName(String methodName) {
            String propertyName = methodName.startsWith("is") ? methodName.substring("is".length()) : methodName.substring("get".length());
            return propertyName.substring(0, 1).toLowerCase() + propertyName.substring(1);
        }
    
        public static class MutableBuildParams {
            private static MutableBuildParams INSTANCE = new MutableBuildParams();
    
            private MutableBuildParams() {}
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 7.7K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

         */
        private static File getAcceptedApiChangesFile(RichReportData data) {
            def matcher = data.description =~ acceptedChangesRegex
            return new File(matcher[0][1])
        }
    
        private static RichReportData enrichReport(RichReportData data) {
            String currentApiChanges = getAcceptedApiChangesFile(data).text
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:18:18 GMT 2026
    - 7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        }
    
        @Test
        @DisplayName("writeULong handles negative values as unsigned")
        void testWriteULongNegative() {
            byte[] dest = new byte[4];
            NtlmMessage.writeULong(dest, 0, -1);
            assertArrayEquals(new byte[] { -1, -1, -1, -1 }, dest, "All bytes should be 0xFF for -1");
        }
    
        @Test
        @DisplayName("writeUShort writes little endian bytes")
        void testWriteUShort() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/ByteSourceTester.java

            () -> source.slice(-1, 0));
    
        assertThrows(
            "expected IllegalArgumentException for call to slice with length -1: " + source,
            IllegalArgumentException.class,
            () -> source.slice(0, -1));
      }
    
      // Test that you can not expand the readable data in a previously sliced ByteSource.
      public void testSlice_constrainedRange() throws IOException {
        long size = source.read().length;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
Back to Top