- Sort Score
- Result 10 results
- Languages All
Results 2531 - 2540 of 6,241 for If (0.03 sec)
-
guava/src/com/google/common/hash/LongAdder.java
long sum = base; Cell[] as = cells; if (as != null) { int n = as.length; for (int i = 0; i < n; ++i) { Cell a = as[i]; if (a != null) sum += a.value; } } return sum; } /** * Resets variables maintaining the sum to zero. This method may be a useful alternative to * creating a new adder, but is only effective if there are no concurrent updates. Because this
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 5.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Interners.java
InternalEntry entry = map.getEntry(sample); if (entry != null) { Object canonical = entry.getKey(); if (canonical != null) { // only matters if weak/soft keys are used // The compiler would know this is safe if not for our use of raw types (see above). @SuppressWarnings("unchecked") E result = (E) canonical;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandle.java
public LsaPolicyHandle(DcerpcHandle handle, String server, int access) throws IOException { this.handle = handle; if (server == null) server = "\\\\"; MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this); handle.sendrecv(rpc); if (rpc.retval != 0) throw new SmbException(rpc.retval, false); } public void close() throws IOException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 1.7K bytes - Viewed (0) -
schema/constraint.go
checks := map[string]CheckConstraint{} for _, field := range schema.FieldsByDBName { if chk := field.TagSettings["CHECK"]; chk != "" { names := strings.Split(chk, ",") if len(names) > 1 && regEnLetterAndMidline.MatchString(names[0]) { checks[names[0]] = CheckConstraint{Name: names[0], Constraint: strings.Join(names[1:], ","), Field: field} } else { if names[0] == "" { chk = strings.Join(names[1:], ",") }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 07:33:54 UTC 2024 - 1.9K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ClassMetaDataUtil.java
@Override public void execute(ClassMetaData classMetaData) { if (classMetaData.getOuterClassName() != null) { // Ignore inner classes return; } String packageName = classMetaData.getPackageName(); if (excludedPackages.contains(packageName)) { return; }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/FileConfigService.java
if (StringUtil.isNotBlank(fileConfigPager.name)) { cb.query().setName_Wildcard(wrapQuery(fileConfigPager.name)); } if (StringUtil.isNotBlank(fileConfigPager.paths)) { cb.query().setPaths_Wildcard(wrapQuery(fileConfigPager.paths)); } if (StringUtil.isNotBlank(fileConfigPager.description)) { if (fileConfigPager.description.startsWith("*")) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
for (int i = 0; i < reps; i++) { String x = oldRepeat(originalString, count); if (x.length() != (originalString.length() * count)) { throw new RuntimeException("Wrong length: " + x); } } } private static String oldRepeat(String string, int count) { // If this multiplication overflows, a NegativeArraySizeException or // OutOfMemoryError is not far behind
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Sep 17 20:24:24 UTC 2021 - 3.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContext.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java
Versioning versioning = metadata.getVersioning(); versioning.setLastUpdatedTimestamp(timestamp); if (recessive.getVersioning() != null) { if (versioning.getLatest() == null) { versioning.setLatest(recessive.getVersioning().getLatest()); } if (versioning.getRelease() == null) { versioning.setRelease(recessive.getVersioning().getRelease()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java
List<Element> cells = children(tr, "td"); if (cells.size() != 1) { throw new RuntimeException(String.format("Expected 1 cell in <tr>, found: %s", tr)); } String methodName = cells.get(0).getTextContent().trim(); Collection<MethodMetaData> methods = classDoc.getClassMetaData().findDeclaredMethods(methodName); if (methods.isEmpty()) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.2K bytes - Viewed (0)