Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 204 for Duchess (0.15 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Result.java

     */
    public class Result<T> {
    
        /**
         * Success without warnings
         *
         * @param model
         */
        public static <T> Result<T> success(T model) {
            return success(model, Collections.emptyList());
        }
    
        /**
         * Success with warnings
         *
         * @param model
         * @param problems
         */
        public static <T> Result<T> success(T model, Iterable<? extends ModelProblem> problems) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. internal/dsync/locker.go

    type NetLocker interface {
    	// Do read lock for given LockArgs.  It should return
    	// * a boolean to indicate success/failure of the operation
    	// * an error on failure of lock request operation.
    	RLock(ctx context.Context, args LockArgs) (bool, error)
    
    	// Do write lock for given LockArgs. It should return
    	// * a boolean to indicate success/failure of the operation
    	// * an error on failure of lock request operation.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 18 20:44:38 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  3. cmd/namespace-lock.go

    	lockSource := getSource(2)
    	start := UTCNow()
    	const readLock = false
    	success := make([]int, len(li.paths))
    	for i, path := range li.paths {
    		if !li.ns.lock(ctx, li.volume, path, lockSource, li.opsID, readLock, timeout.Timeout()) {
    			timeout.LogFailure()
    			for si, sint := range success {
    				if sint == 1 {
    					li.ns.unlock(li.volume, li.paths[si], readLock)
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

        }
      }
    
      public void testCheckRoundingUnnecessary_success() {
        MathPreconditions.checkRoundingUnnecessary(true);
      }
    
      public void testCheckRoundingUnnecessary_failure() {
        try {
          MathPreconditions.checkRoundingUnnecessary(false);
          fail();
        } catch (ArithmeticException expected) {
        }
      }
    
      public void testCheckInRange_success() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NbtException.java

        public int errorCode;
    
    
        public static String getErrorString ( int errorClass, int errorCode ) {
            String result = "";
            switch ( errorClass ) {
            case SUCCESS:
                result += "SUCCESS";
                break;
            case ERR_NAM_SRVC:
                result += "ERR_NAM_SRVC/";
                switch ( errorCode ) {
                case FMT_ERR:
                    result += "FMT_ERR: Format Error";
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.8K bytes
    - Viewed (0)
  6. cmd/postpolicyform_test.go

    			success: true,
    		},
    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run("", func(t *testing.T) {
    			_, err := parsePostPolicyForm(strings.NewReader(testCase.policy))
    			if testCase.success && err != nil {
    				t.Errorf("Expected success but failed with %s", err)
    			}
    			if !testCase.success && err == nil {
    				t.Errorf("Expected failed but succeeded")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/VerifyTest.java

    @GwtCompatible(emulated = true)
    public class VerifyTest extends TestCase {
      public void testVerify_simple_success() {
        verify(true);
      }
    
      public void testVerify_simple_failure() {
        try {
          verify(false);
          fail();
        } catch (VerifyException expected) {
        }
      }
    
      public void testVerify_simpleMessage_success() {
        verify(true, "message");
      }
    
      public void testVerify_simpleMessage_failure() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  8. internal/config/config_test.go

    func TestValidRegion(t *testing.T) {
    	tests := []struct {
    		name    string
    		success bool
    	}{
    		{name: "us-east-1", success: true},
    		{name: "us_east", success: true},
    		{name: "helloWorld", success: true},
    		{name: "-fdslka", success: false},
    		{name: "^00[", success: false},
    		{name: "my region", success: false},
    		{name: "%%$#!", success: false},
    	}
    
    	for _, test := range tests {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 18 22:55:17 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractImmutableTableTest.java

            fail();
          } catch (UnsupportedOperationException e) {
            // success
          }
        }
      }
    
      public final void testPut() {
        for (Table<Character, Integer, String> testInstance : getTestInstances()) {
          try {
            testInstance.put('a', 1, "blah");
            fail();
          } catch (UnsupportedOperationException e) {
            // success
          }
        }
      }
    
      public final void testPutAll() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsEntryTester.java

        } catch (NullPointerException expected) {
          // success
        }
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_VALUE_QUERIES)
      public void testContainsEntryNullDisallowedBecauseValueQueriesDisallowed() {
        try {
          multimap().containsEntry(k3(), null);
          fail("Expected NullPointerException");
        } catch (NullPointerException expected) {
          // success
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Nov 16 17:41:24 GMT 2022
    - 3.1K bytes
    - Viewed (0)
Back to top