Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2061 - 2070 of 2,283 for else (0.06 sec)

  1. guava-tests/test/com/google/common/net/InetAddressesTest.java

            processedNamedInterface |= !isNumeric;
            assertThat(InetAddresses.toAddrString(parsed)).contains("%");
            if (isNumeric) {
              assertEquals(Integer.parseInt(scopeId), parsed.getScopeId());
            } else {
              assertEquals(scopeId, parsed.getScopedInterface().getName());
            }
            Inet6Address reparsed =
                (Inet6Address) InetAddresses.forString(InetAddresses.toAddrString(parsed));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/LinkedHashMultimap.java

            if (entry.matchesValue(o, smearedHash)) {
              if (prev == null) {
                // first entry in the bucket
                hashTable[bucket] = entry.nextInValueBucket;
              } else {
                prev.nextInValueBucket = entry.nextInValueBucket;
              }
              deleteFromValueSet(entry);
              deleteFromMultimap(entry);
              size--;
              modCount++;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. cmd/erasure-healing-common_test.go

    				t.Errorf("Drive not filtered as expected, drive: %d", diskIndex)
    			}
    			if !partNeedsHealing(dataErrsPerDisk[diskIndex]) {
    				t.Errorf("Disk expected to be healed, driveIndex: %d", diskIndex)
    			}
    		} else {
    			if disk == nil {
    				t.Errorf("Drive erroneously filtered, driveIndex: %d", diskIndex)
    			}
    			if partNeedsHealing(dataErrsPerDisk[diskIndex]) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. cmd/admin-router.go

    				return
    			}
    		}
    
    		// Apply http tracing "middleware" based on presence of flag.
    		var f2 http.HandlerFunc
    		if handlerFlags.Has(traceAllFlag) {
    			f2 = httpTraceAll(f)
    		} else {
    			f2 = httpTraceHdrs(f)
    		}
    
    		// call the final handler
    		f2(w, r)
    	}
    
    	// Enable compression of responses based on presence of flag.
    	if !handlerFlags.Has(noGZFlag) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Collections2.java

        for (Object o : collection) {
          if (!first) {
            sb.append(", ");
          }
          first = false;
          if (o == collection) {
            sb.append("(this Collection)");
          } else {
            sb.append(o);
          }
        }
        return sb.append(']').toString();
      }
    
      /** Returns best-effort-sized StringBuilder based on the given collection size. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * complete, some objects captured during the computation are closed.
     *
     * <p>A pipeline of {@code ClosingFuture}s is a tree of steps. Each step represents either an
     * asynchronously-computed intermediate value, or else an exception that indicates the failure or
     * cancellation of the operation so far. The only way to extract the value or exception from a step
     * is by declaring that step to be the last step of the pipeline. Nevertheless, we refer to the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    		}
    		if testCase.copySourceRange != "" {
    			if testCase.copySourceRange == "empty" {
    				req.Header.Set("X-Amz-Copy-Source-Range", "") // specifically test for S3 errors in this scenario.
    			} else {
    				req.Header.Set("X-Amz-Copy-Source-Range", testCase.copySourceRange)
    			}
    		}
    
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  8. cmd/peer-rest-server.go

    	values := v.Values()
    	var types madmin.MetricType
    	if t, _ := strconv.ParseUint(values.Get(peerRESTMetricsTypes), 10, 64); t != 0 {
    		types = madmin.MetricType(t)
    	} else {
    		types = madmin.MetricsAll
    	}
    
    	diskMap := make(map[string]struct{})
    	for _, disk := range values[peerRESTDisk] {
    		diskMap[disk] = struct{}{}
    	}
    
    	hostMap := make(map[string]struct{})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/InterceptorTest.kt

      private fun addInterceptor(
        network: Boolean,
        interceptor: Interceptor,
      ) {
        val builder = client.newBuilder()
        if (network) {
          builder.addNetworkInterceptor(interceptor)
        } else {
          builder.addInterceptor(interceptor)
        }
        client = builder.build()
      }
    
      /** Catches exceptions that are otherwise headed for the uncaught exception handler.  */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

                        if (Files.deleteIfExists(file)) {
                          if (createSymlink) {
                            Files.createSymbolicLink(file, target);
                          } else {
                            Files.createDirectory(file);
                          }
                          createSymlink = !createSymlink;
                        }
                      } catch (IOException tolerated) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top