Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 2,145 for else_ (0.04 sec)

  1. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

        long nanos = unit.toNanos(timeout);
        synchronized (lock) {
          while (true) {
            if (shutdown && runningTasks == 0) {
              return true;
            } else if (nanos <= 0) {
              return false;
            } else {
              long now = System.nanoTime();
              NANOSECONDS.timedWait(lock, nanos);
              nanos -= System.nanoTime() - now; // subtract the actual time we waited
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. cmd/lock-rest-server-common_test.go

    		t.Errorf("Expected %#v, got %#v", false, true)
    	}
    
    	if !locker.ll.removeEntry("name", dsync.LockArgs{
    		Owner: "owner",
    		UID:   "0123-4567",
    	}, &lri) {
    		t.Errorf("Expected %#v, got %#v", true, false)
    	} else {
    		gotLri := locker.ll.lockMap["name"]
    		expectedLri := []lockRequesterInfo{lockRequesterInfo2}
    		if !reflect.DeepEqual(expectedLri, gotLri) {
    			t.Errorf("Expected %#v, got %#v", expectedLri, gotLri)
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                });
                if (putMappingResponse.isAcknowledged()) {
                    logger.info("Created {} mapping.", index);
                } else {
                    logger.warn("Failed to create {} mapping.", index);
                }
            } else if (logger.isDebugEnabled()) {
                logger.debug("{} mapping exists.", index);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashSet.java

          if (newSize > mask) {
            // Resize and add new entry
            mask = resizeTable(mask, CompactHashing.newCapacity(mask), hash, newEntryIndex);
          } else {
            CompactHashing.tableSet(requireTable(), tableIndex, newEntryIndex + 1);
          }
        } else {
          int entryIndex;
          int entry;
          int hashPrefix = CompactHashing.getHashPrefix(hash, mask);
          int bucketLength = 0;
          do {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/MoreObjects.java

            return ((CharSequence) value).length() == 0;
          } else if (value instanceof Collection) {
            return ((Collection<?>) value).isEmpty();
          } else if (value instanceof Map) {
            return ((Map<?, ?>) value).isEmpty();
          } else if (value instanceof Optional) {
            return !((Optional) value).isPresent();
          } else if (value.getClass().isArray()) {
            return Array.getLength(value) == 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

        @CanIgnoreReturnValue
        public int setCount(int count) {
          updateLastKnownIndex();
          if (lastKnownIndex == -1) {
            put(key, count);
            return 0;
          } else {
            int old = values[lastKnownIndex];
            values[lastKnownIndex] = count;
            return old;
          }
        }
      }
    
      private static int getHash(long entry) {
        return (int) (entry >>> 32);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SortedLists.java

        while (lower <= upper) {
          int middle = (lower + upper) >>> 1;
          int c = comparator.compare(key, list.get(middle));
          if (c < 0) {
            upper = middle - 1;
          } else if (c > 0) {
            lower = middle + 1;
          } else {
            return lower
                + presentBehavior.resultIndex(
                    comparator, key, list.subList(lower, upper + 1), middle - lower);
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

                        }
                        if (pos + 1 < pair.length()) {
                            list.add(urlCodec.decode(pair.substring(pos + 1), enc));
                        } else {
                            list.add(StringUtil.EMPTY);
                        }
                    } else {
                        final String key = urlCodec.decode(pair, enc);
                        List<String> list = paramListMap.get(key);
                        if (list == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Handshake.kt

          "localCertificates=${localCertificates.map { it.name }}}"
      }
    
      private val Certificate.name: String
        get() =
          when (this) {
            is X509Certificate -> subjectDN.toString()
            else -> type
          }
    
      companion object {
        @Throws(IOException::class)
        @JvmStatic
        @JvmName("get")
        fun SSLSession.handshake(): Handshake {
          val cipherSuite =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. schema/naming.go

    		if curCase {
    			if lastCase && (nextCase || nextNumber) {
    				buf.WriteRune(v + 32)
    			} else {
    				if i > 0 && value[i-1] != '_' && value[i+1] != '_' {
    					buf.WriteByte('_')
    				}
    				buf.WriteRune(v + 32)
    			}
    		} else {
    			buf.WriteRune(v)
    		}
    
    		lastCase = curCase
    		curCase = nextCase
    	}
    
    	if curCase {
    		if !lastCase && len(value) > 1 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top