Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 1,649 for Contains (0.1 sec)

  1. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    
    /**
     * Supplemental tests for {@link Monitor}.
     *
     * <p>This test class contains various test cases that don't fit into the test case generation in
     * {@link GeneratedMonitorTest}.
     *
     * @author Justin T. Sampson
     */
    public class SupplementalMonitorTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java

    import org.eclipse.aether.installation.InstallRequest;
    import org.eclipse.aether.metadata.Metadata;
    import org.eclipse.aether.util.ConfigUtils;
    
    /**
     * Maven GA level metadata generator.
     *
     * Version metadata contains list of existing baseVersions within this GA.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Deprecated(since = "4.0.0")
    class VersionsMetadataGenerator implements MetadataGenerator {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        }
      }
    
      /** constructor with empty array has size 0 and contains no elements */
      public void testConstructorEmptyArray() {
        AtomicDoubleArray aa = new AtomicDoubleArray(new double[0]);
        assertEquals(0, aa.length());
        assertThrows(IndexOutOfBoundsException.class, () -> aa.get(0));
      }
    
      /** constructor with length zero has size 0 and contains no elements */
      public void testConstructorZeroLength() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. schema/field.go

    		field.Scale, _ = strconv.Atoi(s)
    	}
    
    	// default value is function or null or blank (primary keys)
    	field.DefaultValue = strings.TrimSpace(field.DefaultValue)
    	skipParseDefaultValue := strings.Contains(field.DefaultValue, "(") &&
    		strings.Contains(field.DefaultValue, ")") || strings.ToLower(field.DefaultValue) == "null" || field.DefaultValue == ""
    	switch reflect.Indirect(fieldValue).Kind() {
    	case reflect.Bool:
    		field.DataType = Bool
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

    @GwtCompatible
    public enum CollectionFeature implements Feature<Collection> {
      /**
       * The collection must not throw {@code NullPointerException} on calls such as {@code
       * contains(null)} or {@code remove(null)}, but instead must return a simple {@code false}.
       */
      ALLOWS_NULL_QUERIES,
      ALLOWS_NULL_VALUES(ALLOWS_NULL_QUERIES),
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. cmd/data-scanner-metric.go

    	// actions records actions performed.
    	actions        [lifecycle.ActionCount]uint64
    	actionsLatency [lifecycle.ActionCount]lockedLastMinuteLatency
    
    	// currentPaths contains (string,*currentPathTracker) for each disk processing.
    	// Alignment not required.
    	currentPaths sync.Map
    
    	cycleInfoMu sync.Mutex
    	cycleInfo   *currentScannerCycle
    }
    
    var globalScannerMetrics scannerMetrics
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                    entries = doDfsRootEnum(tc, locator, locator.getAddress());
                    for ( int ei = 0; ei < entries.length; ei++ ) {
                        FileEntry e = entries[ ei ];
                        if ( !set.contains(e) && ( fnf == null || fnf.accept(parent, e.getName()) ) ) {
                            set.add(e);
                        }
                    }
                }
                catch ( IOException ioe ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  8. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            }
        }
    
        private static boolean isWindows() {
            return System.getProperty("os.name").toLowerCase(Locale.ROOT).contains("windows");
        }
    
        private static boolean isMacOS() {
            return System.getProperty("os.name").toLowerCase(Locale.ROOT).contains("mac");
        }
    
        private static class ExecResult {
            private final String[] args;
            private final int code;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      }
    
      // Name
    
      private @Nullable String name;
    
      /** Configures this builder produce a TestSuite with the given name. */
      @CanIgnoreReturnValue
      public B named(String name) {
        if (name.contains("(")) {
          throw new IllegalArgumentException(
              "Eclipse hides all characters after "
                  + "'('; please use '[]' or other characters instead of parentheses");
        }
        this.name = name;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

                () ->
                    getChecked(
                        FAILED_FUTURE_CHECKED_EXCEPTION, ExceptionWithoutThrowableConstructor.class));
        assertThat(expected).hasMessageThat().contains("mymessage");
        assertThat(expected).hasCauseThat().isEqualTo(CHECKED_EXCEPTION);
      }
    
      public void testPrefersConstructorWithThrowableParameter() {
        ExceptionWithManyConstructorsButOnlyOneThrowable exception =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top