Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2051 - 2060 of 2,542 for value1 (0.09 sec)

  1. guava-tests/test/com/google/common/io/CloseablesTest.java

     */
    public class CloseablesTest extends TestCase {
      private Closeable mockCloseable;
    
      public void testClose_closeableClean() throws IOException {
        // make sure that no exception is thrown regardless of value of
        // 'swallowException' when the mock does not throw an exception.
        setupCloseable(false);
        doClose(mockCloseable, false, false);
    
        setupCloseable(false);
        doClose(mockCloseable, true, false);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  2. cmd/namespace-lock_test.go

    // Tests getSource().
    func TestGetSource(t *testing.T) {
    	currentSource := func() string { return getSource(2) }
    	gotSource := currentSource()
    	// Hard coded line number, 35, in the "expectedSource" value
    	expectedSource := "[namespace-lock_test.go:35:TestGetSource()]"
    	if gotSource != expectedSource {
    		t.Errorf("expected : %s, got : %s", expectedSource, gotSource)
    	}
    }
    
    // Test lock race
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java

        /**
         * The base docs CSS to embed in the HTML
         */
        @InputFile
        @PathSensitive(PathSensitivity.NONE)
        public abstract RegularFileProperty getBaseCssFile();
    
        /**
         * Key-value pairs that are replaced in the generated HTML.
         *
         * This uses Ant style replacement tokens.
         */
        @Input
        public abstract MapProperty<String, String> getReplacementTokens();
    
        @Inject
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 28 06:35:15 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        /**
         * Sets the user properties to use for interpolation and profile activation. The user properties have been
         * configured directly by the user on his discretion, e.g. via the {@code -Dkey=value} parameter on the command
         * line.
         *
         * @param userProperties The user properties, may be {@code null}.
         * @return This request, never {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

         * <p>Then the returned value is {@code groupId:artifactId} when there is a name clash and
         * {@code :artifactId} if there is no conflict.
         * This method is made package-private for testing purposes.
         *
         * @param mavenProjects Maven projects which are part of build execution.
         * @param firstFailedProject The first project which has failed.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. cmd/tier.go

    	for tier, stat := range t.requestsCount {
    		metrics = append(metrics, MetricV2{
    			Description:    tierRequestsSuccessMD,
    			Value:          float64(stat.success),
    			VariableLabels: map[string]string{"tier": tier},
    		})
    		metrics = append(metrics, MetricV2{
    			Description:    tierRequestsFailureMD,
    			Value:          float64(stat.failure),
    			VariableLabels: map[string]string{"tier": tier},
    		})
    	}
    	return metrics
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. internal/event/target/elasticsearch.go

    	}
    	if a.Format != "" {
    		f := strings.ToLower(a.Format)
    		if f != event.NamespaceFormat && f != event.AccessFormat {
    			return errors.New("format value unrecognized")
    		}
    	}
    	if a.Index == "" {
    		return errors.New("empty index value")
    	}
    
    	if (a.Username == "" && a.Password != "") || (a.Username != "" && a.Password == "") {
    		return errors.New("username and password should be set in pairs")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/api/logging-interceptor.api

    	public static final field NONE Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static fun getEntries ()Lkotlin/enums/EnumEntries;
    	public static fun valueOf (Ljava/lang/String;)Lokhttp3/logging/HttpLoggingInterceptor$Level;
    	public static fun values ()[Lokhttp3/logging/HttpLoggingInterceptor$Level;
    }
    
    public abstract interface class okhttp3/logging/HttpLoggingInterceptor$Logger {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java

      public void testContains_wrongType() {
        try {
          // noinspection SuspiciousMethodCalls
          assertFalse(
              "containsValue(wrongType) should return false or throw",
              getMap().containsValue(WrongType.VALUE));
        } catch (ClassCastException tolerated) {
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java

        DependencyScope getScope();
    
        /**
         * Returns whether the dependency is optional or mandatory.
         * Contrarily to {@link DependencyCoordinates}, the obligation of a {@code Dependency} is always present.
         * The value is computed during the dependencies collection phase.
         *
         * @return {@code true} if the dependency is optional, or {@code false} if mandatory
         * @see DependencyCoordinates#getOptional()
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top