Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1961 - 1970 of 2,189 for else_ (0.02 seconds)

  1. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        };
      }
    
      private static TypeToken<?> getFirstTypeParameter(Type type) {
        if (type instanceof ParameterizedType) {
          return TypeToken.of(((ParameterizedType) type).getActualTypeArguments()[0]);
        } else {
          return TypeToken.of(Object.class);
        }
      }
    
      private <T> T newDefaultReturningProxy(TypeToken<T> type) {
        return new DummyProxy() {
          @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/hash/HashTestUtils.java

            int hash2 = function.hashInt(key2).asInt();
            for (int k = 0; k < hashBits; k++) {
              if ((hash1 & (1 << k)) == (hash2 & (1 << k))) {
                same[k] += 1;
              } else {
                diff[k] += 1;
              }
            }
          }
          // measure probability and assert it's within margin of error
          for (int j = 0; j < hashBits; j++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ObjectArrays.java

          @Nullable Object[] src, int offset, int len, T[] dst) {
        checkPositionIndexes(offset, offset + len, src.length);
        if (dst.length < len) {
          dst = newArray(dst, len);
        } else if (dst.length > len) {
          @Nullable Object[] unsoundlyCovariantArray = dst;
          unsoundlyCovariantArray[len] = null;
        }
        arraycopy(src, offset, dst, 0, len);
        return dst;
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:48:28 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        if (localInputFuture != null) {
          resultString = "inputFuture=[" + localInputFuture + "], ";
        }
        if (localFunction != null) {
          return resultString + "function=[" + localFunction + "]";
        } else if (superString != null) {
          return resultString + superString;
        }
        return null;
      }
    
      /**
       * An {@link AbstractTransformFuture} that delegates to an {@link AsyncFunction} and {@link
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 20 18:03:37 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. internal/http/listener_test.go

    			if !expectedListenErr {
    				if listenErrs[i] != nil {
    					t.Fatalf("Test %d:, listenErrs[%d] error: expected = <nil>, got = %v", testIdx+1, i, listenErrs[i])
    				}
    			} else if listenErrs[i] == nil {
    				t.Fatalf("Test %d: listenErrs[%d]: expected = %v, got = <nil>", testIdx+1, i, expectedListenErr)
    			}
    		}
    		if listener != nil {
    			listener.Close()
    		}
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java

                    assertEquals("GET", queue.getMethod());
                    assertEquals("https://example.com", queue.getParentUrl());
                    assertEquals(Long.valueOf(123456789L), queue.getLastModified());
                } else if ("https://example.com/page2".equals(queue.getUrl())) {
                    foundPage2 = true;
                    assertEquals("POST", queue.getMethod());
                    assertEquals("https://example.com", queue.getParentUrl());
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 13 13:29:22 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        TesterRequirements declaredRequirements = buildDeclaredTesterRequirements(testerClass);
        Class<?> baseClass = testerClass.getSuperclass();
        if (baseClass == null) {
          return declaredRequirements;
        } else {
          TesterRequirements clonedBaseRequirements =
              new TesterRequirements(getTesterRequirements(baseClass));
          return incorporateRequirements(clonedBaseRequirements, declaredRequirements, testerClass);
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        if (localInputFuture != null) {
          resultString = "inputFuture=[" + localInputFuture + "], ";
        }
        if (localFunction != null) {
          return resultString + "function=[" + localFunction + "]";
        } else if (superString != null) {
          return resultString + superString;
        }
        return null;
      }
    
      /**
       * An {@link AbstractTransformFuture} that delegates to an {@link AsyncFunction} and {@link
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 20 18:03:37 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

            is PackageDeclaration -> "${it.nameAsString} (package-info.java)"
            is NodeWithSimpleName<*> -> "${inferClassName(unit)}.${it.nameAsString}"
            else -> unit.primaryTypeName.orElse(file.name)
        }
    
        private
        fun inferClassName(unit: CompilationUnit) =
            "${unit.packageDeclaration.map { it.nameAsString }.orElse("")}.${unit.primaryTypeName.orElse("")}"
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/io/Files.java

          return new FileInputStream(file);
        }
    
        @Override
        public Optional<Long> sizeIfKnown() {
          if (file.isFile()) {
            return Optional.of(file.length());
          } else {
            return Optional.absent();
          }
        }
    
        @Override
        public long size() throws IOException {
          if (!file.isFile()) {
            throw new FileNotFoundException(file.toString());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 20:24:13 GMT 2025
    - 32.8K bytes
    - Click Count (0)
Back to Top