Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 68 for Flip (0.04 sec)

  1. guava-tests/test/com/google/common/hash/HashTestUtils.java

          int maxCount = (int) (4 * Math.log(2 * keyBits * hashBits) + 1);
          while (same != 0xffffffff || diff != 0xffffffff) {
            int key1 = rand.nextInt();
            // flip input bit for key2
            int key2 = key1 ^ (1 << i);
            // get hashes
            int hash1 = function.hashInt(key1).asInt();
            int hash2 = function.hashInt(key2).asInt();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/codegen_test.cc

            std::remove(sanitized_expected_contents.begin(),
                        sanitized_expected_contents.end(), '\r'),
            sanitized_expected_contents.end());
      }
    
      // To update the golden file, flip update_golden to true and run the
      // following:
      // blaz test --test_strategy=local \
      //   "third_party/tensorflow/compiler/aot:codegen_test"
      const bool update_golden = false;
      string golden_file_name =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 01 02:13:40 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

                castBuffer(buffer).clear();
            }
    
            /**
             * Without this cast, when the code compiled by Java 9+ is executed on Java 8, it will throw
             * java.lang.NoSuchMethodError: Method flip()Ljava/nio/ByteBuffer; does not exist in class java.nio.ByteBuffer
             */
            @SuppressWarnings("RedundantCast")
            private static <T extends Buffer> Buffer castBuffer(T byteBuffer) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

        assertThat(listener.recordedEventTypes().filter { it == "ConnectFailed" }).hasSize(0)
      }
    
      @Test
      fun callIpv6WhenBothServersAreReachable() {
        // Flip DNS results to prefer IPv6.
        dnsResults =
          listOf(
            localhostIpv6,
            localhostIpv4,
          )
        serverIpv4.enqueue(
          MockResponse(body = "unexpected call to IPv4"),
        )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. pkg/ctrlz/assets/static/js/bootstrap-4.0.0.min.js

    pdown"]',T=".dropdown form",y=".dropdown-menu",C=".navbar-nav",I=".dropdown-menu .dropdown-item:not(.disabled)",A="top-start",b="top-end",D="bottom-start",S="bottom-end",w="right-start",N="left-start",O={offset:0,flip:!0,boundary:"scrollParent"},k={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)"},L=function(){function a(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._ad...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 47.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

          StringBuilder builder = new StringBuilder();
          CharBuffer buffer = CharBuffer.allocate(100);
          while (reader.read(buffer) != -1) {
            Java8Compatibility.flip(buffer);
            builder.append(buffer);
            Java8Compatibility.clear(buffer);
          }
          return builder.toString();
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 12:56:11 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharStreams.java

          }
        }
    
        checkNotNull(from);
        checkNotNull(to);
        long total = 0;
        CharBuffer buf = createBuffer();
        while (from.read(buf) != -1) {
          Java8Compatibility.flip(buf);
          to.append(buf);
          total += buf.remaining();
          Java8Compatibility.clear(buf);
        }
        return total;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/CharStreams.java

          }
        }
    
        checkNotNull(from);
        checkNotNull(to);
        long total = 0;
        CharBuffer buf = createBuffer();
        while (from.read(buf) != -1) {
          Java8Compatibility.flip(buf);
          to.append(buf);
          total += buf.remaining();
          Java8Compatibility.clear(buf);
        }
        return total;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Combinators.kt

    
    internal
    inline operator fun <T> Parser<T>.plus(crossinline alternative: Parser<T>): Parser<T> =
        either(this, alternative, { it }, { it })
    
    
    internal
    inline fun <T, U> flip(
        crossinline t: Parser<T>,
        crossinline u: Parser<U>,
    ): Parser<Pair<U, T>> =
        zip(t, u) { tr, ur -> ur to tr }
    
    
    internal
    inline fun <T, U, R> zip(
        crossinline t: Parser<T>,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  10. src/fmt/scan.go

    		copy(r.pendBuf[r.pending:], r.buf[size:n])
    		r.pending += n - size
    	}
    	// Flip the bits of the rune so it's available to UnreadRune.
    	r.peekRune = ^rr
    	return
    }
    
    func (r *readRune) UnreadRune() error {
    	if r.peekRune >= 0 {
    		return errors.New("fmt: scanning called UnreadRune with no rune available")
    	}
    	// Reverse bit flip of previously read rune to obtain valid >=0 state.
    	r.peekRune = ^r.peekRune
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
Back to top