Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1061 - 1070 of 1,634 for byteEq (0.08 sec)

  1. src/main/java/org/codelibs/core/io/InputStreamUtil.java

                throw new IORuntimeException(e);
            }
        }
    
        /**
         * {@link InputStream}からbyteの配列を取得します。
         * <p>
         * 入力ストリームはクローズされません。
         * </p>
         *
         * @param is
         *            入力ストリーム。{@literal null}であってはいけません
         * @return byteの配列
         */
        public static final byte[] getBytes(final InputStream is) {
            assertArgumentNotNull("is", is);
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

        /**
         * GETs the source URI content as byte array. The source MUST BE relative from the {@link RemoteRepository#getUrl()}
         * root.
         *
         * @return the byte array if operation succeeded, {@code null} if source does not exist.
         * @throws RuntimeException If failed (and not due source not exists).
         */
        @Nonnull
        Optional<byte[]> getBytes(@Nonnull URI relativeSource);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. internal/event/target/webhook.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package target
    
    import (
    	"bytes"
    	"context"
    	"crypto/tls"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net"
    	"net/http"
    	"net/url"
    	"os"
    	"path/filepath"
    	"strings"
    	"syscall"
    	"time"
    
    	"github.com/minio/minio/internal/event"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

            try (InputStream fis = Files.newInputStream(path)) {
                byte[] buffer = new byte[SHA1_BUFFER_SIZE];
                int read;
                while ((read = fis.read(buffer)) != -1) {
                    md.update(buffer, 0, read);
                }
            }
            StringBuilder result = new StringBuilder();
            for (byte b : md.digest()) {
                result.append(String.format("%02x", b));
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. internal/grid/stream.go

    	// If the request context is canceled, the stream will no longer process requests.
    	// Requests sent cannot be used any further by the called.
    	Requests chan<- []byte
    
    	muxID uint64
    	ctx   context.Context
    }
    
    // Send a payload to the remote server.
    func (s *Stream) Send(b []byte) error {
    	if s.Requests == nil {
    		return errors.New("stream does not accept requests")
    	}
    	select {
    	case s.Requests <- b:
    		return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmChallenge.java

    import java.io.Serializable;
    
    import jcifs.smb1.UniAddress;
    import jcifs.smb1.util.Hexdump;
    
    public final class NtlmChallenge implements Serializable {
    
        public byte[] challenge;
        public UniAddress dc;
    
        NtlmChallenge( byte[] challenge, UniAddress dc ) {
            this.challenge = challenge;
            this.dc = dc;
        }
    
        public String toString() {
            return "NtlmChallenge[challenge=0x" +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  7. docs_src/custom_request_and_route/tutorial001.py

    import gzip
    from typing import Callable, List
    
    from fastapi import Body, FastAPI, Request, Response
    from fastapi.routing import APIRoute
    
    
    class GzipRequest(Request):
        async def body(self) -> bytes:
            if not hasattr(self, "_body"):
                body = await super().body()
                if "gzip" in self.headers.getlist("Content-Encoding"):
                    body = gzip.decompress(body)
                self._body = body
            return self._body
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 973 bytes
    - Viewed (0)
  8. istioctl/pkg/util/clusters/wrapper.go

    type Wrapper struct {
    	*admin.Clusters
    }
    
    // MarshalJSON is a custom marshaller to handle protobuf pain
    func (w *Wrapper) MarshalJSON() ([]byte, error) {
    	return protomarshal.Marshal(w)
    }
    
    // UnmarshalJSON is a custom unmarshaller to handle protobuf pain
    func (w *Wrapper) UnmarshalJSON(b []byte) error {
    	cd := &admin.Clusters{}
    	err := protomarshal.UnmarshalAllowUnknown(b, cd)
    	*w = Wrapper{cd}
    	return err
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. cmd/bucket-policy-handlers.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"encoding/json"
    	"io"
    	"net/http"
    
    	humanize "github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/SingletonImmutableSet.java

    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
      // We deliberately avoid caching the asList and hashCode here, to ensure that with
      // compressed oops, a SingletonImmutableSet packs all the way down to the optimal 16 bytes.
    
      final transient E element;
    
      SingletonImmutableSet(E element) {
        this.element = Preconditions.checkNotNull(element);
      }
    
      @Override
      public int size() {
        return 1;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top