Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1201 - 1210 of 1,922 for LENGTH (0.04 seconds)

  1. src/main/java/jcifs/smb/SmbTreeImpl.java

        /**
         * @param stackTrace
         * @return
         */
        private static StackTraceElement[] truncateTrace(final StackTraceElement[] stackTrace) {
    
            int s = 2;
            int e = stackTrace.length;
    
            for (int i = s; i < e; i++) {
                final StackTraceElement se = stackTrace[i];
    
                if (i == s && SmbTreeImpl.class.getName().equals(se.getClassName()) && "close".equals(se.getMethodName())) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  2. .github/workflows/create_issue.js

    module.exports = async ({github, context}) => {
      const rollback_commit = context.payload.head_commit.id;
      const pr_match_groups = context.payload.head_commit.message.match(/\Rollback of PR #(\d+).*/) || [];
      if (pr_match_groups.length != 2) {
        console.log(`PR Number not found in ${context.payload.head_commit.message}`);
        throw "Error extracting PR Number from commit message";
      }
      const pr_number = parseInt(pr_match_groups[1]);
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Oct 18 23:04:59 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeByte(0x88) // Literal name Huffman encoded 8 bytes
        // decodes to custom-key which is length 10
        bytesIn.write("25a849e95ba97d7f".decodeHex())
        bytesIn.writeByte(0x89) // Literal value Huffman encoded 9 bytes
        // decodes to custom-value which is length 12
        bytesIn.write("25a849e95bb8e8b4bf".decodeHex())
      }
    
      private fun checkReadThirdRequestWithHuffman() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 38.6K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        val message = repeat('a', RealWebSocket.DEFAULT_MINIMUM_DEFLATE_SIZE.toInt())
        server.webSocket!!.send(message)
        taskFaker.runTasks()
        assertThat(client.clientSourceBufferSize())
          .isGreaterThan(message.length.toLong()) // Not compressed.
        assertThat(client.processNextFrame()).isTrue()
        client.listener.assertTextMessage(message)
      }
    
      @Test
      fun messagesCompressedWhenConfigured() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java

            Objects.requireNonNull(model, "model cannot be null");
    
            String encoding = model.getModelEncoding();
            // TODO Use StringUtils here
            if (encoding == null || encoding.length() <= 0) {
                encoding = "UTF-8";
            }
    
            try (Writer out = new OutputStreamWriter(output, encoding)) {
                write(out, options, model);
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

                results.add(result);
    
                Artifact artifact = request.getArtifact();
                if ("maven-test".equals(artifact.getGroupId())) {
                    String scope = artifact.getArtifactId().substring("scope-".length());
    
                    try {
                        artifact = artifact.setFile(ProjectClasspathTestType.getFileForClasspathResource(
                                ProjectClasspathTestType.DIR + "transitive-" + scope + "-dep.xml"));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  7. internal/ringbuffer/README.md

    # Usage
    
    ```go
    package main
    
    import (
    	"fmt"
    
    	"github.com/smallnest/ringbuffer"
    )
    
    func main() {
    	rb := ringbuffer.New(1024)
    
    	// write
    	rb.Write([]byte("abcd"))
    	fmt.Println(rb.Length())
    	fmt.Println(rb.Free())
    
    	// read
    	buf := make([]byte, 4)
    	rb.Read(buf)
    	fmt.Println(string(buf))
    }
    ```
    
    It is possible to use an existing buffer with by replacing `New` with `NewBuffer`.
    
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 15 00:11:04 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractVersionsUpdateTask.kt

                setAttribute(XMLConstants.ACCESS_EXTERNAL_SCHEMA, "")
            }.newDocumentBuilder()
                .parse(url)
                .getElementsByTagName("version").let { versions ->
                    (0 until versions.length)
                        .map { idx -> (versions.item(idx) as Element).textContent }
                        .reversed()
                }
    
        protected
        fun updateProperties(populateProperties: Properties.() -> Unit) =
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Oct 24 09:10:28 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  9. src/main/webapp/js/admin/bootstrap.min.js.map

    this._getItemIndex(activeElement)\n    const lastItemIndex = this._items.length - 1\n    const isGoingToWrap = isPrevDirection && activeIndex === 0 ||\n                            isNextDirection && activeIndex === lastItemIndex\n\n    if (isGoingToWrap && !this._config.wrap) {\n      return activeElement\n    }\n\n    const delta = direction === DIRECTION_PREV ? -1 : 1\n    const itemIndex = (activeIndex + delta) % this._items.length\n\n    return itemIndex === -1 ?\n      this._items[this._items.length...
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 180.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

         *
         * @param n the amount to adjust the offset
         */
        public void adjustOffset(final int n) {
            this.offset += n;
        }
    
        /**
         * Gets the data length.
         *
         * @return the dataLength
         */
        public final int getDataLength() {
            return this.dataLength;
        }
    
        /**
         * Gets the data offset.
         *
         * @return the dataOffset
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top