Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1821 - 1830 of 2,189 for boolean (0.18 sec)

  1. guava/src/com/google/common/primitives/Longs.java

       * @param array an array of {@code long} values, possibly empty
       * @param target a primitive {@code long} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
      public static boolean contains(long[] array, long target) {
        for (long value : array) {
          if (value == target) {
            return true;
          }
        }
        return false;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertThat(explicitAdapter.fromDer(bytes)).isEqualTo("hi")
        assertThat(explicitAdapter.toDer("hi")).isEqualTo(bytes)
      }
    
      @Test fun `boolean`() {
        val bytes = "0101FF".decodeHex()
        assertThat(Adapters.BOOLEAN.fromDer(bytes)).isEqualTo(true)
        assertThat(Adapters.BOOLEAN.toDer(true)).isEqualTo(bytes)
      }
    
      @Test fun `positive integer`() {
        val bytes = "020132".decodeHex()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/log/bsentity/dbmeta/SearchLogDbm.java

        //                                                                         ===========
        @Override
        public boolean hasPrimaryKey() {
            return false;
        }
    
        @Override
        public boolean hasCompoundPrimaryKey() {
            return false;
        }
    
        @Override
        protected UniqueInfo cpui() {
            return null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

      }
    
      override fun flushRequest() {
        http2Connection.flush()
      }
    
      override fun finishRequest() {
        stream!!.getSink().close()
      }
    
      override fun readResponseHeaders(expectContinue: Boolean): Response.Builder? {
        val stream = stream ?: throw IOException("stream wasn't created")
        val headers = stream.takeHeaders(callerIsIdle = expectContinue)
        val responseBuilder = readHttp2HeadersList(headers, protocol)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/SocksProxy.kt

      private var serverSocket: ServerSocket? = null
      private val connectionCount = AtomicInteger()
      private val openSockets = Collections.newSetFromMap(ConcurrentHashMap<Socket, Boolean>())
    
      fun play() {
        serverSocket = ServerSocket(0)
        executor.execute {
          val threadName = "SocksProxy ${serverSocket!!.localPort}"
          Thread.currentThread().name = threadName
          try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LongAdder.java

       */
      @Override
      public void add(long x) {
        Cell[] as;
        long b, v;
        int[] hc;
        Cell a;
        int n;
        if ((as = cells) != null || !casBase(b = base, b + x)) {
          boolean uncontended = true;
          if ((hc = threadHashCode.get()) == null
              || as == null
              || (n = as.length) < 1
              || (a = as[(n - 1) & hc[0]]) == null
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

        }
    
        @Test
        void testNewSyncContext() throws Exception {
            // SyncContext newSyncContext( RepositorySystemSession session, boolean shared );
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. .github/workflows/CheckBadMerge.groovy

         * - Only exists on `master`.
         * - Exists on `master` and `releaseX`.
         * If any line is only present on `releaseX` version, then it's a bad file.
         * Also, we ignore empty lines.
         */
        static boolean isBadFileInMergeCommit(String filePath, String mergeCommit, String masterCommit, String releaseCommit) {
            try {
                List<String> mergeCommitFileLines = showFileOnCommit(mergeCommit, filePath).readLines()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 19 10:35:44 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

                }
    
                @Override
                public String getRoleSearchRolePrefix() {
                    return "";
                }
    
                @Override
                public boolean isLdapIgnoreNetbiosName() {
                    return true;
                }
            });
            try {
                assertEquals("guest", permissionHelper.encode("{role}guest"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

     *
     * @author Cliff Biffle
     * @author Colin Decker
     */
    public class SubscriberTest extends TestCase {
    
      private static final Object FIXTURE_ARGUMENT = new Object();
    
      private EventBus bus;
      private boolean methodCalled;
      private @Nullable Object methodArgument;
    
      @Override
      protected void setUp() throws Exception {
        bus = new EventBus();
        methodCalled = false;
        methodArgument = null;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top