Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 1,615 for LENGTH (0.06 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

            String test = expectedVersion;
            boolean reverse = false;
            final boolean result;
            if (test.startsWith(REGEX_PREFIX)) {
                result = actualVersion.matches(test.substring(REGEX_PREFIX.length()));
            } else {
                if (test.startsWith("!")) {
                    reverse = true;
                    test = test.substring(1);
                }
                result = actualVersion.equalsIgnoreCase(test);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. cmd/httprange_test.go

    		}
    		o, l, err := rs.GetOffsetLength(resourceSize)
    		if err != nil {
    			t.Errorf("unexpected err: %v", err)
    		}
    		if o != testCase.expOffset || l != testCase.expLength {
    			t.Errorf("Case %d: got bad offset/length: %d,%d expected: %d,%d",
    				i, o, l, testCase.expOffset, testCase.expLength)
    		}
    	}
    
    	unparsableRangeSpecs := []string{
    		"bytes=-",
    		"bytes==",
    		"bytes==1-10",
    		"bytes=",
    		"bytes=aa",
    		"aa",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 05 16:56:21 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. cmd/object-api-interface.go

    func GetObject(ctx context.Context, api ObjectLayer, bucket, object string, startOffset int64, length int64, writer io.Writer, etag string, opts ObjectOptions) (err error) {
    	var header http.Header
    	if etag != "" {
    		header.Set("ETag", etag)
    	}
    	Range := &HTTPRangeSpec{Start: startOffset, End: startOffset + length}
    
    	reader, err := api.GetObjectNInfo(ctx, bucket, object, Range, header, opts)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileOutputStream.java

            write(this.tmp, 0, 1);
        }
    
    
        /**
         * Writes b.length bytes from the specified byte array to this
         * file output stream.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public void write ( byte[] b ) throws IOException {
            write(b, 0, b.length);
        }
    
    
        /**
         * @return whether the stream is open
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

            .clearHeaders()
            .addHeader("Content-Length: 3")
            .build(),
        )
        assertContent("abc", getResponse(newRequest("/")))
      }
    
      @Test
      fun contentDisagreesWithContentLengthHeaderBodyTooShort() {
        server.enqueue(
          MockResponse.Builder()
            .body("abc")
            .setHeader("Content-Length", "5")
            .socketPolicy(DisconnectAtEnd)
            .build(),
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/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() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

            }
            public long createTime() {
                return 0L;
            }
            public long lastModified() {
                return 0L;
            }
            public long length() {
                return 0L;
            }
    
            public String toString() {
                return new String( "ServerInfo1[" +
                        "name=" + name +
                        ",versionMajor=" + versionMajor +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/00-bug.yml

            CGO_CXXFLAGS="-O2 -g"
            CGO_FFLAGS="-O2 -g"
            CGO_LDFLAGS="-O2 -g"
            PKG_CONFIG="pkg-config"
            GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/44/nbbyll_10jd0z8rj_qxm43740000gn/T/go-build2331607515=/tmp/go-build -gno-record-gcc-switches -fno-common"
          render: shell
        validations:
          required: true
    
      - type: textarea
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java

                            }
                        }
                    }
                }
            } catch (final MaxLengthExceededException e) {
                throw e;
            } catch (final Exception e) {
                if (buf.length() == 0) {
                    throw new ExtractException("Could not extract a content.", e);
                }
            } finally {
                CloseableUtil.closeQuietly(ais);
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/Handler.java

            int port;
    
            if ( spec.equals("smb://") ) {
                spec = "smb:////";
                limit += 2;
            }
            else if ( spec.startsWith("smb://") == false && host != null && host.length() == 0 ) {
                spec = "//" + spec;
                limit += 2;
            }
            super.parseURL(u, spec, start, limit);
            path = u.getPath();
            ref = u.getRef();
            if ( ref != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 09:14:24 UTC 2020
    - 2.9K bytes
    - Viewed (0)
Back to top