Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 270 for 256 (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java

                MessageBuilderFactory messageBuilderFactory,
                MojoExecution execution,
                MavenProject project,
                Throwable cause) {
            MessageBuilder buffer = messageBuilderFactory.builder(256);
    
            buffer.a("Failed to execute goal");
    
            if (execution != null) {
                buffer.a(' ');
                buffer.mojo(execution.getGroupId()
                        + ':'
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

        }
    
        // -------------------------------------------------------------------------------------------
        @Override
        public String toString() {
            StringBuilder sb = new StringBuilder(256);
            sb.append("[scope=").append(scope.getScope());
            if (classpath != null) {
                for (ArtifactMetadata md : classpath) {
                    sb.append(": ")
                            .append(md.toString())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/MojoExecution.java

            this.configuration = configuration != null ? new org.codehaus.plexus.util.xml.Xpp3Dom(configuration) : null;
        }
    
        public String identify() {
            StringBuilder sb = new StringBuilder(256);
    
            sb.append(executionId);
            sb.append(configuration.toString());
    
            return sb.toString();
        }
    
        public String getLifecyclePhase() {
            return lifecyclePhase;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            }
    
            @Test
            @DisplayName("Should decode at different buffer offset")
            void testDecodeWithOffset() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[256];
                int offset = 100;
                byte[] responseData = createValidCopyChunkResponse(10, 131072, 1310720);
                System.arraycopy(responseData, 0, buffer, offset, responseData.length);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  5. src/archive/tar/strconv_test.go

    		}
    	}
    }
    
    func TestParseNumeric(t *testing.T) {
    	vectors := []struct {
    		in   string
    		want int64
    		ok   bool
    	}{
    		// Test base-256 (binary) encoded values.
    		{"", 0, true},
    		{"\x80", 0, true},
    		{"\x80\x00", 0, true},
    		{"\x80\x00\x00", 0, true},
    		{"\xbf", (1 << 6) - 1, true},
    		{"\xbf\xff", (1 << 14) - 1, true},
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Sep 11 17:52:43 UTC 2025
    - 15K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            byte[] buffer = new byte[34]; // 10 offset + 16 header + 8 data
            int bufferIndex = offset;
    
            // Set up test values
            int namedPipeState = 0x02;
            int readDataAvailable = 256;
            int numberOfMessages = 5;
            int messageLength = 128;
            byte[] testData = { (byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC, (byte) 0xBB, (byte) 0xAA, (byte) 0x99, (byte) 0x88 };
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            byte[] blob = blobCred();
            SmbComSessionSetupAndX obj = new SmbComSessionSetupAndX(mockContext, mockNegotiate, mockAndX, blob);
            byte[] buf = new byte[256];
            int len = invokeProtectedInt(obj, "writeParameterWordsWireFormat", buf, 0);
    
            // Expected size: 2 (sendBuffer) + 2 (mpxCount) + 2 (vcNumber) + 4 (sessionKey) + 2 (blob length) + 4 (reserved) + 4 (capabilities)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

            baos.write(0x60); // APPLICATION 0
    
            // Write length
            if (content.length < 128) {
                baos.write(content.length);
            } else if (content.length < 256) {
                baos.write(0x81); // length of length = 1
                baos.write(content.length);
            } else {
                baos.write(0x82); // length of length = 2
                baos.write((content.length >> 8) & 0xFF);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                outputBufferLengthField.setAccessible(true);
                outputBufferLengthField.set(request, 0x8000);
    
                // Create a buffer and write
                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 64);
    
                // Verify structure size (should be 41)
                assertEquals(41, SMBUtil.readInt2(buffer, 64));
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/HexdumpTest.java

            assertEquals(2048, result.length()); // 1024 bytes * 2 chars
    
            // Test partial conversion
            String partial = Hexdump.toHexString(data, 512, 256);
            assertEquals(512, partial.length()); // 256 bytes * 2 chars
            assertTrue(partial.startsWith("00010203")); // 512 % 256 = 0, so starts at 0
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top