Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 342 for _offset (0.07 sec)

  1. cmd/warm-backend-azure.go

    	if opts.startOffset < 0 {
    		return nil, InvalidRange{}
    	}
    	resp, err := az.clnt.DownloadStream(ctx, az.Bucket, az.getDest(object), &azblob.DownloadStreamOptions{
    		Range: blob.HTTPRange{Offset: opts.startOffset, Count: opts.length},
    	})
    	if err != nil {
    		return nil, azureToObjectError(err, az.Bucket, az.getDest(object))
    	}
    
    	return resp.Body, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. cmd/bitrot.go

    		if left < shardSize {
    			shardSize = left
    		}
    
    		read, err := io.CopyBuffer(h, io.LimitReader(r, shardSize), *bufp)
    		if err != nil {
    			// Read's failed for object with right size, at different offsets.
    			return errFileCorrupt
    		}
    
    		left -= read
    		if !bytes.Equal(h.Sum(nil), hashBuf[:n]) {
    			return errFileCorrupt
    		}
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. cmd/encryption-v1.go

    	}
    
    	// At this point, we have:
    	//
    	// 1. the decrypted part sizes in `sizes` (single element for
    	//    single part object) and total decrypted object size `decObjSize`
    	//
    	// 2. the (decrypted) start offset `off` and (decrypted)
    	//    length to read `length`
    	//
    	// These are the inputs to the rest of the algorithm below.
    
    	// Locate the part containing the start of the required range
    	var partEnd int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  4. docs/sts/wso2.md

      - By default, `<IS_HOST>` is localhost. However, if using a public IP, the respective IP address or domain needs to be specified.
      - By default, `<IS_HTTPS_PORT>` has been set to 9443. However, if the port offset has been incremented by n, the default port value needs to be incremented by n.
    
    Request
    
    ```
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

          alreadyEncoded: Boolean,
        ) = apply {
          var offset = 0
          do {
            val segmentEnd = pathSegments.delimiterOffset("/\\", offset, pathSegments.length)
            val addTrailingSlash = segmentEnd < pathSegments.length
            push(pathSegments, offset, segmentEnd, addTrailingSlash, alreadyEncoded)
            offset = segmentEnd + 1
          } while (offset <= pathSegments.length)
        }
    
        fun setPathSegment(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertThat(Adapters.PRINTABLE_STRING.fromDer(bytes)).isEqualTo("hi")
        assertThat(Adapters.PRINTABLE_STRING.toDer("hi")).isEqualTo(bytes)
      }
    
      @Test fun `cannot decode utc time with offset`() {
        assertFailsWith<ProtocolException> {
          Adapters.UTC_TIME.fromDer("17113139313231353139303231302d30383030".decodeHex())
        }.also { expected ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  7. src/archive/zip/zip_test.go

    	const size = 1<<32 - 1 - int64(len("END\n")) // before the "END\n" part
    	buf := testZip64(t, size)
    	testZip64DirectoryRecordLength(buf, t)
    }
    
    // Tests that we generate a zip64 file if the directory at offset
    // 0xFFFFFFFF, but not before.
    func TestZip64DirectoryOffset(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping in short mode")
    	}
    	t.Parallel()
    	const filename = "huge.txt"
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. docs/de/docs/how-to/extending-openapi.md

    Sie können die Eigenschaft `.openapi_schema` als „Cache“ verwenden, um Ihr generiertes Schema zu speichern.
    
    Auf diese Weise muss Ihre Anwendung das Schema nicht jedes Mal generieren, wenn ein Benutzer Ihre API-Dokumentation öffnet.
    
    Es wird nur einmal generiert und dann wird dasselbe zwischengespeicherte Schema für die nächsten Requests verwendet.
    
    ```Python hl_lines="13-14  25-26"
    {!../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/ReadWriteTest.java

                }
    
                byte verify[] = new byte[read];
                randBytes(r, verify);
                byte actual[] = Arrays.copyOfRange(buffer, 0, read);
    
                assertArrayEquals("Data matches at offset " + p, actual, verify);
    
                p += read;
            }
            if ( expectEof ) {
                assertEquals("Expecting EOF", -1, is.read(buffer, 0, 1));
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                if( append ) {
                    fp = file.length();
                }
            }
        }
    /**
     * Writes len bytes from the specified byte array starting at
     * offset off to this file output stream.
     *
     * @param b The array 
     * @throws IOException if a network error occurs
     */
    
        public void write( byte[] b, int off, int len ) throws IOException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
Back to top