Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 1,848 for LENGTH (0.03 sec)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java

        /**
         * Tests the formatting of an option without module name.
         */
        @Test
        public void testOption() {
            String[] formatted = JavaPathType.MODULES.option(paths());
            assertEquals(2, formatted.length);
            assertEquals("--module-path", formatted[0]);
            assertEquals(toPlatformSpecific("src/foo.java:src/bar.java"), formatted[1]);
        }
    
        /**
         * Tests the formatting of an option with a module name.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 13 14:20:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

              inFinished: Boolean,
              streamId: Int,
              source: BufferedSource,
              length: Int,
            ) {
              assertThat(inFinished).isFalse()
              assertThat(streamId).isEqualTo(expectedStreamId)
              assertThat(length).isEqualTo(Http2.INITIAL_MAX_FRAME_SIZE)
              val data = source.readByteString(length.toLong())
              for (b in data.toByteArray()) {
                assertThat(b).isEqualTo(2.toByte())
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnectResponse.java

        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            // Reconnect response has no data - length should be 0
            if (len != 0) {
                throw new SMBProtocolDecodingException("Invalid durable handle reconnect response length: " + len);
            }
    
            // No data to decode
            return 0;
        }
    
        /**
         * Get the context name as string
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

            super(server, new lsarpc.LsarObjectAttributes(), access, policyHandle);
            this.object_attributes.length = 24;
            final lsarpc.LsarQosInfo qos = new lsarpc.LsarQosInfo();
            qos.length = 12;
            qos.impersonation_level = 2;
            qos.context_mode = 1;
            qos.effective_only = 0;
            this.object_attributes.security_quality_of_service = qos;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

        append("-----END CERTIFICATE-----\n")
      }
    
    internal fun StringBuilder.encodeBase64Lines(data: ByteString) {
      val base64 = data.base64()
      for (i in 0 until base64.length step 64) {
        append(base64, i, minOf(i + 64, base64.length)).append('\n')
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            System.arraycopy(this.sourceKey, 0, dst, dstIndex, 24);
            dstIndex += 24;
    
            SMBUtil.writeInt4(this.chunks.length, dst, dstIndex);
            dstIndex += 4;
    
            dstIndex += 4; // Reserved
    
            for (final SrvCopychunk chk : this.chunks) {
                dstIndex += chk.encode(dst, dstIndex);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                            });
                            writer.flush();
                        }
                    });
                }
                final String name = id.substring(0, id.length() - NDJSON_EXTENTION.length());
                if ("search_log".equals(name)) {
                    return writeNdjsonResponse(id, getSearchLogNdjsonWriteCall());
                }
                if ("user_info".equals(name)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/JoinerTest.java

        assertEquals(0, sb1FromIterable.length());
    
        StringBuilder sb1FromIterator = new StringBuilder();
        assertSame(sb1FromIterator, joiner.appendTo(sb1FromIterator, set));
        assertEquals(0, sb1FromIterator.length());
    
        StringBuilder sb2 = new StringBuilder();
        assertSame(sb2, joiner.appendTo(sb2, array));
        assertEquals(0, sb2.length());
    
        try {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. cmd/event-notification.go

    	}
    
    	// Add deployment as part of response elements.
    	respElements["x-minio-deployment-id"] = globalDeploymentID()
    	if args.RespElements["content-length"] != "" {
    		respElements["content-length"] = args.RespElements["content-length"]
    	}
    
    	keyName := args.Object.Name
    	if escape {
    		keyName = url.QueryEscape(args.Object.Name)
    	}
    
    	newEvent := event.Event{
    		EventVersion:      "2.0",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                int decodedSize = decoded.decode(buffer, 0, encodedSize);
    
                assertEquals(encodedSize, decodedSize);
                assertEquals(0, decoded.getHashAlgos().length);
                assertEquals(0, decoded.getSalt().length);
            }
    
            @Test
            @DisplayName("Should calculate size correctly")
            void testSizeCalculation() {
                // Test with various combinations
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top