Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 3,007 for int8 (0.59 sec)

  1. cmd/test-utils_test.go

    }
    
    // fetches a random number between range min-max.
    func getRandomRange(minN, maxN int, seed int64) int {
    	// special value -1 means no explicit seeding.
    	if seed == -1 {
    		return rand.New(rand.NewSource(time.Now().UnixNano())).Intn(maxN-minN) + minN
    	}
    	return rand.New(rand.NewSource(seed)).Intn(maxN-minN) + minN
    }
    
    // Randomizes the order of bytes in the byte array
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  2. src/bufio/bufio.go

    }
    
    // Buffered returns the number of bytes that have been written into the current buffer.
    func (b *Writer) Buffered() int { return b.n }
    
    // Write writes the contents of p into the buffer.
    // It returns the number of bytes written.
    // If nn < len(p), it also returns an error explaining
    // why the write is short.
    func (b *Writer) Write(p []byte) (nn int, err error) {
    	for len(p) > b.Available() && b.err == nil {
    		var n int
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Longs.java

       * @since 32.0.0
       */
      public static void rotate(long[] array, int distance, int fromIndex, int toIndex) {
        // See Ints.rotate for more details about possible algorithms here.
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        if (array.length <= 1) {
          return;
        }
    
        int length = toIndex - fromIndex;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertEquals(expectedSize, request.size());
            }
    
            @ParameterizedTest
            @DisplayName("Should calculate size for various data lengths")
            @ValueSource(ints = { 0, 1, 7, 8, 100, 512, 1024, 4096, 65536 })
            void testSizeWithVariousDataLengths(int dataLength) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/mips64.s

    //	LFMOV fimm ',' freg
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    	MOVD	$0.1, F2 // MOVD $(0.10000000000000001), F2
    
    //	LFMOV freg ',' freg
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    	MOVD	F1, F2
    
    //	LFMOV freg ',' addr
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    	MOVD	F2, foo<>+3(SB)
    	MOVD	F2, 16(R1)
    	MOVD	F2, (R1)
    
    //
    // store ints and bytes
    //
    //	LMOVV rreg ',' addr
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                } catch (final Exception e) {}
            }
    
            return abbreviateSite(url);
        }
    
        /**
         * Puts data into the result data map, handling value appending if configured.
         * If data appending is enabled and the key already exists, values are combined into arrays.
         *
         * @param dataMap the data map to modify
         * @param key the key to store the value under
         * @param value the value to store
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

        }
    
        // Helper methods to write data to byte arrays for testing read methods
        private void writeInt2(int val, byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dst[dstIndex + 1] = (byte) (val >> 8);
        }
    
        private void writeInt4(int val, byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dst[dstIndex + 1] = (byte) (val >> 8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

        private static final int FILE_NOTIFY_CHANGE_EA = 0x00000080;
        private static final int FILE_NOTIFY_CHANGE_SECURITY = 0x00000100;
        private static final int FILE_NOTIFY_CHANGE_STREAM_NAME = 0x00000200;
        private static final int FILE_NOTIFY_CHANGE_STREAM_SIZE = 0x00000400;
        private static final int FILE_NOTIFY_CHANGE_STREAM_WRITE = 0x00000800;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        }
      }
    
      private static final class Collider {
        final int value;
    
        Collider(int value) {
          this.value = value;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof Collider && ((Collider) obj).value == value;
        }
    
        @Override
        public int hashCode() {
          return 1; // evil!
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      @Override
      public int drainTo(Collection<? super E> c, int maxElements) {
        if (c == null) throw new NullPointerException();
        if (c == this) throw new IllegalArgumentException();
        if (maxElements <= 0) return 0;
        E[] items = this.items;
        Monitor monitor = this.monitor;
        monitor.enter();
        try {
          int i = takeIndex;
          int n = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top