Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 3,597 for qint (0.03 sec)

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

        public final void readFully ( byte b[], int off, int len ) throws SmbException {
            int n = 0, count;
    
            do {
                count = this.read(b, off + n, len - n);
                if ( count < 0 )
                    throw new SmbEndOfFileException();
                n += count;
            }
            while ( n < len );
        }
    
    
        @Override
        public int skipBytes ( int n ) throws SmbException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          }
        }
      }
    
      private static class Sink extends AbstractStreamingHasher {
        final int chunkSize;
        final int bufferSize;
        final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
        int processCalled = 0;
        boolean remainingCalled = false;
    
        Sink(int chunkSize, int bufferSize) {
          super(chunkSize, bufferSize);
          this.chunkSize = chunkSize;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/MathBenchmarking.java

     */
    final class MathBenchmarking {
      static final int ARRAY_SIZE = 0x10000;
      static final int ARRAY_MASK = 0x0ffff;
      static final Random RANDOM_SOURCE = new Random(314159265358979L);
      static final int MAX_EXPONENT = 100;
    
      /*
       * Duplicated from LongMath.
       * binomial(biggestBinomials[k], k) fits in a long, but not
       * binomial(biggestBinomials[k] + 1, k).
       */
      static final int[] biggestBinomials = {
        Integer.MAX_VALUE,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

    @RunWith(JUnit4.class)
    
    public final class NetworkMutationTest {
      private static final int NUM_TRIALS = 5;
      private static final int NUM_NODES = 20;
      private static final int NUM_EDGES = 100;
      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedNetwork() {
        testNetworkMutation(NetworkBuilder.directed());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 10 19:42:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbException.java

            }
    
            return "0x" + Hexdump.toHexString( errcode, 8 );
        }
        static int getStatusByCode( int errcode ) {
            if(( errcode & 0xC0000000 ) != 0 ) {
                return errcode;
            } else {
                int min = 0;
                int max = DOS_ERROR_CODES.length - 1;
    
                while( max >= min ) {
                    int mid = (min + max) / 2;
    
                    if( errcode > DOS_ERROR_CODES[mid][0] ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  6. tensorflow/c/c_test_util.h

    TF_Tensor* BoolTensor(int32_t v);
    
    // Create a tensor with values of type TF_INT8 provided by `values`.
    TF_Tensor* Int8Tensor(const int64_t* dims, int num_dims, const char* values);
    
    // Create a tensor with values of type TF_INT32 provided by `values`.
    TF_Tensor* Int32Tensor(const int64_t* dims, int num_dims,
                           const int32_t* values);
    
    // Create 1 dimensional tensor with values from `values`
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
  7. mockwebserver-junit5/src/test/java/mockwebserver3/junit5/internal/ExtensionMultipleInstancesTest.kt

    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    
    class ExtensionMultipleInstancesTest {
      var defaultInstancePort: Int = -1
      var instanceAPort: Int = -1
      var instanceBPort: Int = -1
    
      @BeforeEach
      fun setup(
        defaultInstance: MockWebServer,
        @MockWebServerInstance("A") instanceA: MockWebServer,
        @MockWebServerInstance("B") instanceB: MockWebServer,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/text/JsonUtil.java

         */
        public static String escape(final String value) {
            if (value == null) {
                return null;
            }
    
            char c;
            final int len = value.length();
            final StringBuilder buf = new StringBuilder(len * 2);
    
            for (int i = 0; i < len; i++) {
                c = value.charAt(i);
                switch (c) {
                case '\\':
                case '"':
                    buf.append('\\');
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Doubles.java

       *     such index exists.
       */
      public static int indexOf(double[] array, double target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(double[] array, double target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/BloomFilterStrategies.java

            Funnel<? super T> funnel,
            int numHashFunctions,
            LockFreeBitArray bits) {
          long bitSize = bits.bitSize();
          long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong();
          int hash1 = (int) hash64;
          int hash2 = (int) (hash64 >>> 32);
    
          boolean bitsChanged = false;
          for (int i = 1; i <= numHashFunctions; i++) {
            int combinedHash = hash1 + (i * hash2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
Back to top