Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 1,634 for byteEq (0.05 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java

            println(
                    "transferCorrupted",
                    event.getException().getClass() + ": " + event.getException().getMessage());
        }
    
        protected long toKB(long bytes) {
            return (bytes + 1023) / 1024;
        }
    
        private void println(String event, String message) {
            print(event, message);
            out.println();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java

         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt8(this.timeout, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.nameBytes.length, dst, dstIndex);
            dstIndex += 4;
    
            dst[ dstIndex ] = (byte) ( this.timeoutSpecified ? 0x1 : 0x0 );
            dstIndex++;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

        private int capabilities;
        private byte[] clientGuid;
        private int securityMode;
        private int dialects[];
    
    
        /**
         * @param capabilities
         * @param clientGuid
         * @param securityMode
         * @param dialects
         * 
         */
        public ValidateNegotiateInfoRequest ( int capabilities, byte[] clientGuid, int securityMode, int[] dialects ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Charsets.java

      /**
       * UTF-16: sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order
       * mark.
       *
       * <p><b>Note:</b> this constant is now unnecessary and should be treated as deprecated; use
       * {@link StandardCharsets#UTF_16} instead.
       *
       */
      @J2ktIncompatible
      @GwtIncompatible // Charset not supported by GWT
      public static final Charset UTF_16 = StandardCharsets.UTF_16;
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 25 23:55:36 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-utils.go

    //
    // Note: Only the scanner requires fivs.Versions to have exclusively non-free versions. This is used while enforcing NewerNoncurrentVersions lifecycle element.
    func getFileInfoVersions(xlMetaBuf []byte, volume, path string, inclFreeVersions bool) (FileInfoVersions, error) {
    	fivs, err := getAllFileInfoVersions(xlMetaBuf, volume, path, true)
    	if err != nil {
    		return fivs, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. internal/bucket/bandwidth/monitor.go

    		NodeCount:             numNodes,
    	}
    	go m.trackEWMA()
    	return m
    }
    
    func (m *Monitor) updateMeasurement(opts BucketOptions, bytes uint64) {
    	m.mlock.Lock()
    	defer m.mlock.Unlock()
    
    	tm, ok := m.bucketsMeasurement[opts]
    	if !ok {
    		tm = &bucketMeasurement{}
    	}
    	tm.incrementBytes(bytes)
    	m.bucketsMeasurement[opts] = tm
    }
    
    // SelectionFunction for buckets
    type SelectionFunction func(bucket string) bool
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        assertEquals(HashCode.fromInt(expected), actual);
      }
    
      public void testParanoidHashBytes() {
        HashFn hf =
            new HashFn() {
              @Override
              public byte[] hash(byte[] input, int seed) {
                return murmur3_32(seed).hashBytes(input).asBytes();
              }
            };
        // Murmur3A, MurmurHash3 for x86, 32-bit (MurmurHash3_x86_32)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:29:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. internal/bpool/bpool_test.go

    	bp.Put(make([]byte, bp.w, bp.wcap-1)) // wrong capacity is rejected (less)
    	bp.Put(make([]byte, bp.w, bp.wcap+1)) // wrong capacity is rejected (more)
    	bp.Put(make([]byte, width))           // wrong capacity is rejected (very less)
    	if len(bp.c) > 0 {
    		t.Fatal("bytepool should have rejected invalid packets")
    	}
    
    	// Try putting a short slice into pool
    	bp.Put(make([]byte, bp.w, bp.wcap)[:2])
    	if len(bp.c) != 1 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. istioctl/pkg/cli/mock_client.go

    	// Results is a map of podName to the results of the expected test on the pod
    	Results map[string][]byte
    	kube.CLIClient
    }
    
    func (c MockClient) NewPortForwarder(_, _, _ string, _, _ int) (kube.PortForwarder, error) {
    	return MockPortForwarder{}, nil
    }
    
    func (c MockClient) AllDiscoveryDo(_ context.Context, _, _ string) (map[string][]byte, error) {
    	return c.Results, nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

              // The cache cannot be written.
            }
          }
        }
    
        return response
      }
    
      /**
       * Returns a new source that writes bytes to [cacheRequest] as they are read by the source
       * consumer. This is careful to discard bytes left over when the stream is closed; otherwise we
       * may never exhaust the source stream and therefore not complete the cached response.
       */
      @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top