Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,541 for bytes (0.05 sec)

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

    
        /**
         * Writes the specified byte to this file output stream.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public void write ( int b ) throws IOException {
            this.tmp[ 0 ] = (byte) b;
            write(this.tmp, 0, 1);
        }
    
    
        /**
         * Writes b.length bytes from the specified byte array to this
         * file output stream.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  2. cmd/listen-notification-handlers.go

    				if err := enc.Encode(tmpEvt); err != nil {
    					bugLogIf(ctx, err, "event: Encode failed")
    					continue
    				}
    				mergeCh <- append(grid.GetByteBuffer()[:0], buf.Bytes()...)
    			case <-ctx.Done():
    				grid.PutByteBuffer(buf.Bytes())
    				return
    			}
    		}
    	}()
    	peers, _ := newPeerRestClients(globalEndpoints)
    	err := globalHTTPListen.Subscribe(mask, localCh, ctx.Done(), func(ev event.Event) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. internal/grid/msg_gen.go

    func (z muxConnectError) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 1
    	// string "Error"
    	o = append(o, 0x81, 0xa5, 0x45, 0x72, 0x72, 0x6f, 0x72)
    	o = msgp.AppendString(o, z.Error)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *muxConnectError) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/table/writer_test.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package table
    
    import (
    	"bytes"
    	"testing"
    
    	"github.com/fatih/color"
    )
    
    type testObject struct {
    	name      string
    	namespace string
    	version   string
    }
    
    var newTestObject = func(name, namespace, version string) testObject {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Oct 08 04:41:42 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListenerTest.java

            // warm up
            test(listener, session, resource, 0);
    
            for (int i = 1; i < size; i++) {
                final int bytes = i;
    
                service.execute(() -> {
                    test(listener, session, resource, bytes);
                });
            }
    
            // start all threads at once
            try {
                startLatch.await();
            } catch (InterruptedException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. cmd/batch-job-common-types_gen.go

    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z BatchJobSize) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendInt64(o, int64(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BatchJobSize) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	{
    		var zb0001 int64
    		zb0001, bts, err = msgp.ReadInt64Bytes(bts)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/ChecksumHashFunction.java

        private ChecksumHasher(Checksum checksum) {
          this.checksum = checkNotNull(checksum);
        }
    
        @Override
        protected void update(byte b) {
          checksum.update(b);
        }
    
        @Override
        protected void update(byte[] bytes, int off, int len) {
          checksum.update(bytes, off, len);
        }
    
        @Override
        @J2ObjCIncompatible
        protected void update(ByteBuffer b) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:05:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. cmd/config-common.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"io"
    	"net/http"
    
    	"github.com/minio/minio/internal/hash"
    )
    
    var errConfigNotFound = errors.New("config file not found")
    
    func readConfigWithMetadata(ctx context.Context, store objectIO, configFile string, opts ObjectOptions) ([]byte, ObjectInfo, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FilesTest.java

      }
    
      public void testMap_readWrite() throws IOException {
        // Test data
        int size = 1024;
        byte[] expectedBytes = new byte[size];
        byte[] bytes = newPreFilledByteArray(1024);
    
        // Setup
        File file = createTempFile();
        Files.write(bytes, file);
    
        Random random = new Random();
        random.nextBytes(expectedBytes);
    
        // Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

      public void testBytes() {
        Sink sink = new Sink(4); // byte order insignificant here
        byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8};
        sink.putByte((byte) 1);
        sink.putBytes(new byte[] {2, 3, 4, 5, 6});
        sink.putByte((byte) 7);
        sink.putBytes(new byte[] {});
        sink.putBytes(new byte[] {8});
        HashCode unused = sink.hash();
        sink.assertInvariants(8);
        sink.assertBytes(expected);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top