Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for shift (0.15 sec)

  1. android/guava/src/com/google/common/math/BigIntegerMath.java

          sqrt0 = sqrtApproxWithDoubles(x);
        } else {
          int shift = (log2 - DoubleUtils.SIGNIFICAND_BITS) & ~1; // even!
          /*
           * We have that x / 2^shift < 2^54. Our initial approximation to sqrtFloor(x) will be
           * 2^(shift/2) * sqrtApproxWithDoubles(x / 2^shift).
           */
          sqrt0 = sqrtApproxWithDoubles(x.shiftRight(shift)).shiftLeft(shift >> 1);
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    			}
    		case lex.LSH:
    			p.next()
    			shift := p.factor()
    			if int64(shift) < 0 {
    				p.errorf("negative left shift count")
    			}
    			return value << shift
    		case lex.RSH:
    			p.next()
    			shift := p.term()
    			if int64(shift) < 0 {
    				p.errorf("negative right shift count")
    			}
    			if int64(value) < 0 {
    				p.errorf("right shift of value with high bit set")
    			}
    			value >>= shift
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/CopyUtilTest.java

         * @throws Exception
         */
        @Test
        public void testFileToFile_Encoding() throws Exception {
            int result = copy(inputFile, "UTF-8", outputFile, "Shift_JIS");
            assertThat(result, is(urlString.length()));
    
            result = copy(outputFile, "Shift_JIS", writer);
            assertThat(writer.toString(), is(urlString));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

        long result = 0;
        // Due to the way we shift, we can stop iterating once we've run out of data, the rest
        // of the result already being filled with zeros.
    
        // This loop is critical to performance, so please check HashBenchmark if altering it.
        int limit = Math.min(length, 8);
        for (int i = 0; i < limit; i++) {
          // Shift value left while iterating logically through the array.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  5. src/buildall.bash

    #
    # Options:
    #   -e: stop at first failure
    
    if [ ! -f run.bash ]; then
    	echo 'buildall.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    
    sete=false
    if [ "$1" = "-e" ]; then
    	sete=true
    	shift
    fi
    
    if [ "$sete" = true ]; then
    	set -e
    fi
    
    pattern="$1"
    if [ "$pattern" = "" ]; then
    	pattern=.
    fi
    
    ./make.bash || exit 1
    GOROOT="$(cd .. && pwd)"
    
    gettargets() {
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 23 17:45:23 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/filter/EncodingFilterTest.java

            assertEquals(1, paramMap.size());
            assertEquals("テスト", paramMap.get("a")[0]);
    
            paramMap = filter.parseQueryString("a=%83e%83X%83g", "Shift_JIS");
            assertEquals(1, paramMap.size());
            assertEquals("テスト", paramMap.get("a")[0]);
    
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

            encoding = config.getInitParameter(LastaPrepareFilter.ENCODING_KEY);
            if (encoding == null) {
                encoding = LastaPrepareFilter.DEFAULT_ENCODING;
            }
    
            // ex. sjis:Shift_JIS,eucjp:EUC-JP
            final String value = config.getInitParameter(ENCODING_MAP);
            if (StringUtil.isNotBlank(value)) {
                final String[] encodingPairs = value.split(",");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedLongs.java

          if ((radix & (radix - 1)) == 0) {
            // Radix is a power of two so we can avoid division.
            int shift = Integer.numberOfTrailingZeros(radix);
            int mask = radix - 1;
            do {
              buf[--i] = Character.forDigit(((int) x) & mask, radix);
              x >>>= shift;
            } while (x != 0);
          } else {
            // Separate off the last digit using unsigned division. That will leave
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/LongMath.java

            int remainingPowersOf2 = 32;
            do {
              int shift = min(remainingPowersOf2, Long.numberOfLeadingZeros(a));
              // shift is either the number of powers of 2 left to multiply a by, or the biggest shift
              // possible while keeping a in an unsigned long.
              a = UnsignedLongs.remainder(a << shift, m);
              remainingPowersOf2 -= shift;
            } while (remainingPowersOf2 > 0);
            return a;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  10. doc/go_spec.html

    a <a href="#Run_time_panics">run-time panic</a> occurs.
    The shift operators implement arithmetic shifts if the left operand is a signed
    integer and logical shifts if it is an unsigned integer.
    There is no upper limit on the shift count. Shifts behave
    as if the left operand is shifted <code>n</code> times by 1 for a shift
    count of <code>n</code>.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top