Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 2,145 for else_ (0.05 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

          return (ImmutableEnumSet<E>) elements;
        } else if (elements instanceof Collection) {
          Collection<E> collection = (Collection<E>) elements;
          if (collection.isEmpty()) {
            return ImmutableSet.of();
          } else {
            return ImmutableEnumSet.asImmutable(EnumSet.copyOf(collection));
          }
        } else {
          Iterator<E> itr = elements.iterator();
          if (itr.hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableList.java

        checkPositionIndexes(fromIndex, toIndex, size());
        int length = toIndex - fromIndex;
        if (length == size()) {
          return this;
        } else if (length == 0) {
          return of();
        } else {
          return subListUnchecked(fromIndex, toIndex);
        }
      }
    
      /**
       * Called by the default implementation of {@link #subList} when {@code toIndex - fromIndex > 1},
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

            mmHeap.offer(randomInt);
            insertIntoReplica(replica, randomInt);
            currentHeapSize++;
          } else {
            /* remove either min or max */
            if (random.nextBoolean()) {
              removeMinFromReplica(replica, mmHeap.poll());
            } else {
              removeMaxFromReplica(replica, mmHeap.pollLast());
            }
            for (Integer v : replica.keySet()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            if (Artifact.SCOPE_PROVIDED.equals(expectedScope)) {
                filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE);
            } else if (Artifact.SCOPE_SYSTEM.equals(expectedScope)) {
                filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE);
            } else {
                filter = new ScopeArtifactFilter(expectedScope);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  5. cmd/storage-rest-client.go

    		DstPath:   dstPath,
    		DstVolume: dstVolume,
    		FI:        fi,
    		Opts:      opts,
    	}
    	var resp *RenameDataResp
    	if fi.Data == nil {
    		resp, err = storageRenameDataRPC.Call(ctx, client.gridConn, &params)
    	} else {
    		resp, err = storageRenameDataInlineRPC.Call(ctx, client.gridConn, &RenameDataInlineHandlerParams{params})
    	}
    	if err != nil {
    		return res, toStorageErr(err)
    	}
    
    	defer storageRenameDataRPC.PutResponse(resp)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/AbstractHasher.java

      @CanIgnoreReturnValue
      public Hasher putBytes(ByteBuffer b) {
        if (b.hasArray()) {
          putBytes(b.array(), b.arrayOffset() + b.position(), b.remaining());
          Java8Compatibility.position(b, b.limit());
        } else {
          for (int remaining = b.remaining(); remaining > 0; remaining--) {
            putByte(b.get());
          }
        }
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/MultipleArtifactsNotFoundException.java

            int size = artifacts.size();
    
            buffer.append(size).append(" required artifact");
    
            if (size > 1) {
                buffer.append("s are");
            } else {
                buffer.append(" is");
            }
    
            buffer.append(" missing.").append(LS).append(LS).append("for artifact: ");
    
            return buffer.toString();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

                "$baseVersion-milestone-${milestoneNumber.get()}"
            }
            versionQualifier.isPresent -> {
                "$baseVersion-${versionQualifier.get()}-${buildTimestamp.get()}"
            }
            else -> {
                "$baseVersion-${buildTimestamp.get()}"
            }
        }
    
        val isSnapshot = !finalRelease.isPresent && !rcNumber.isPresent && !milestoneNumber.isPresent
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java

                assertTrue(temporaryFile.exists());
                CloseableUtil.closeQuietly(is);
                assertFalse(temporaryFile.exists());
            } else {
                CloseableUtil.closeQuietly(is);
            }
        }
    
        private ResponseData getTestData1_OK() {
            final ResponseData responseData = new ResponseData();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

                TaskRunner::class.java.name -> recordTaskRunner
                Http2::class.java.name -> recordFrames
                "javax.net.ssl" -> recordSslDebug && !sslExcludeFilter.matches(record.message)
                else -> false
              }
    
            if (recorded) {
              synchronized(clientEventsList) {
                clientEventsList.add(record.message)
    
                if (record.loggerName == "javax.net.ssl") {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top