Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1431 - 1440 of 2,283 for else (0.07 sec)

  1. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        return Maps.immutableEntry(key, value);
      }
    
      private void assertMapSize(Map<?, ?> map, int size) {
        assertEquals(size, map.size());
        if (size > 0) {
          assertFalse(map.isEmpty());
        } else {
          assertTrue(map.isEmpty());
        }
        assertCollectionSize(map.keySet(), size);
        assertCollectionSize(map.entrySet(), size);
        assertCollectionSize(map.values(), size);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. cmd/batch-expire.go

    					ObjectInfo: result.Item,
    					ExpireAll:  true,
    				})
    				continue
    			}
    		} else if prevObj.Name == result.Item.Name {
    			if matchedFilter.Purge.RetainVersions == 0 {
    				continue // including latest version in toDel suffices, skipping other versions
    			}
    			versionsCount++
    		} else {
    			continue
    		}
    
    		if versionsCount <= matchedFilter.Purge.RetainVersions {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

            dstIndex += 16;
    
            if ( this.inputBuffer == null ) {
                SMBUtil.writeInt2(0, dst, inBufferOffsetOffset);
                SMBUtil.writeInt4(0, dst, inBufferLengthOffset);
            }
            else {
                SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, inBufferOffsetOffset);
                int len = this.inputBuffer.encode(dst, dstIndex);
                SMBUtil.writeInt4(len, dst, inBufferLengthOffset);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 10:41:31 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

            boolean reverse = false;
            final boolean result;
            if (test.startsWith(REGEX_PREFIX)) {
                result = actualVersion.matches(test.substring(REGEX_PREFIX.length()));
            } else {
                if (test.startsWith("!")) {
                    reverse = true;
                    test = test.substring(1);
                }
                result = actualVersion.equalsIgnoreCase(test);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

                versioning.setSnapshot(snapshot);
                versioning.setLastUpdatedTimestamp(timestamp);
                lastUpdated = versioning.getLastUpdated();
    
                metadata.setVersioning(versioning);
            } else {
                snapshot = metadata.getVersioning().getSnapshot();
                lastUpdated = metadata.getVersioning().getLastUpdated();
            }
    
            for (Artifact artifact : artifacts) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. cni/pkg/install/kubeconfig.go

    		Server: fmt.Sprintf("%s://%s", protocol, net.JoinHostPort(cfg.K8sServiceHost, cfg.K8sServicePort)),
    	}
    
    	if cfg.SkipTLSVerify {
    		// User explicitly opted into insecure.
    		cluster.InsecureSkipTLSVerify = true
    	} else {
    		caFile := model.GetOrDefault(cfg.KubeCAFile, cfg.K8sServiceAccountPath+"/ca.crt")
    		caContents, err := os.ReadFile(caFile)
    		if err != nil {
    			return kubeconfig{}, err
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

                "Method" to "$containingType.getBazar()",
                "Method" to "$containingType.getBazarExt(int)",
            ) + (if (isEnum) listOf(
                "Method" to "$containingType.getEntries()",
            ) else emptyList()) + listOf(
                "Method" to "$containingType.setBazar(java.lang.String)",
                "Method" to "$containingType.setBazarExt(int,java.lang.String)"
            )
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jun 27 13:51:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

          val contentLength = body.contentLength()
          if (contentLength != -1L) {
            requestBuilder.header("Content-Length", contentLength.toString())
            requestBuilder.removeHeader("Transfer-Encoding")
          } else {
            requestBuilder.header("Transfer-Encoding", "chunked")
            requestBuilder.removeHeader("Content-Length")
          }
        }
    
        if (userRequest.header("Host") == null) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java

                buf.append(quoteEscape(newSegmentation));
                buf.append(',');
                buf.append(quoteEscape(newReading));
                buf.append(',');
                buf.append(quoteEscape(newPos));
            } else {
                buf.append(quoteEscape(token));
                buf.append(',');
                buf.append(quoteEscape(segmentation));
                buf.append(',');
                buf.append(quoteEscape(reading));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/RegularImmutableSet.java

          return false;
        }
        for (int i = Hashing.smearedHash(target); ; i++) {
          i &= mask;
          Object candidate = table[i];
          if (candidate == null) {
            return false;
          } else if (candidate.equals(target)) {
            return true;
          }
        }
      }
    
      @Override
      public int size() {
        return elements.length;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top