Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for mock (0.26 sec)

  1. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-32/plexus-container-default-1.0-alpha-32.jar

    maven-surefire-plugin once **/Test*.java **/Abstract*.java shade-maven-plugin org.codehaus.mojo 1.0-alpha-9 package shade classworlds:classworlds junit:junit jmock:jmock org.codehaus.plexus:plexus-classworlds org.codehaus.plexus:plexus-utils org.codehaus.plexus plexus-component-api org.codehaus.plexus plexus-utils org.codehaus.plexus plexus-classworlds jmock jmock 1.0.1 test maven-pmd-plugin maven-javadoc-plugin http://java.sun.com/j2ee/1.4/docs/api http://java.sun.com/j2se/1.5.0/docs/api http://jakarta.apa...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 233.3K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    }
    
    func (c *SiteReplicationSys) loadFromDisk(ctx context.Context, objAPI ObjectLayer) error {
    	buf, err := readConfig(ctx, objAPI, getSRStateFilePath())
    	if err != nil {
    		if errors.Is(err, errConfigNotFound) {
    			c.Lock()
    			defer c.Unlock()
    			c.state = srState{}
    			c.enabled = false
    		}
    		return err
    	}
    
    	// attempt to read just the version key in the state file to ensure we
    	// are reading a compatible version.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 182.7K bytes
    - Viewed (1)
  3. cmd/object-handlers.go

    		return
    	}
    
    	// Take read lock on object, here so subsequent lower-level
    	// calls do not need to.
    	lock := objectAPI.NewNSLock(bucket, object)
    	lkctx, err := lock.GetRLock(ctx, globalOperationTimeout)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	ctx = lkctx.Context()
    	defer lock.RUnlock(lkctx)
    
    	getObjectNInfo := objectAPI.GetObjectNInfo
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 05 11:39:31 GMT 2024
    - 124.7K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-16/plexus-container-default-1.0-alpha-16.jar

    Plexus Container 1.0-alpha-16 maven-surefire-plugin once **/Test*.java **/Abstract*.java maven-assembly-plugin jar-with-dependencies org.codehaus.plexus plexus-component-api org.codehaus.plexus plexus-utils org.codehaus.plexus plexus-classworlds jmock jmock 1.0.1 test META-INF/maven/org.codehaus.plexus/plexus-container-default/pom.properties #Generated by Maven #Tue Jan 23 15:16:59 GMT 2007 version=1.0-alpha-16 groupId=org.codehaus.plexus artifactId=plexus-container-default...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 205.7K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-16/plexus-container-default-1.0-alpha-16.jar

    Plexus Container 1.0-alpha-16 maven-surefire-plugin once **/Test*.java **/Abstract*.java maven-assembly-plugin jar-with-dependencies org.codehaus.plexus plexus-component-api org.codehaus.plexus plexus-utils org.codehaus.plexus plexus-classworlds jmock jmock 1.0.1 test META-INF/maven/org.codehaus.plexus/plexus-container-default/pom.properties #Generated by Maven #Tue Jan 23 15:16:59 GMT 2007 version=1.0-alpha-16 groupId=org.codehaus.plexus artifactId=plexus-container-default...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 205.7K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/callback.go

    	// callback(x) calls goCallback(x)
    	callbackMutex.Lock()
    	callbackToken++
    	i := callbackToken
    	callbackFuncs[i] = f
    	callbackMutex.Unlock()
    
    	// Pass the address of i because the C function was written to
    	// take a pointer.  We could pass an int if we felt like
    	// rewriting the C code.
    	C.callback(unsafe.Pointer(&i))
    
    	callbackMutex.Lock()
    	delete(callbackFuncs, i)
    	callbackMutex.Unlock()
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.30.md

    - github.com/Azure/go-autorest/autorest/date: [v0.3.0](https://github.com/Azure/go-autorest/tree/autorest/date/v0.3.0)
    - github.com/Azure/go-autorest/autorest/mocks: [v0.4.2](https://github.com/Azure/go-autorest/tree/autorest/mocks/v0.4.2)
    - github.com/Azure/go-autorest/autorest/to: [v0.4.0](https://github.com/Azure/go-autorest/tree/autorest/to/v0.4.0)
    Plain Text
    - Registered: Fri Apr 26 09:05:10 GMT 2024
    - Last Modified: Wed Apr 17 17:56:15 GMT 2024
    - 227.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        derived.cancel(false);
        assertTrue(primary.isCancelled());
        assertFalse(primary.wasInterrupted());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // mocks
      // TODO(cpovirk): eliminate use of mocks
      public void testCatchingAsync_resultCancelledAfterFallback() throws Exception {
        final SettableFuture<Integer> secondary = SettableFuture.create();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    of an interface type or of elements of a composite type remains unchanged:
    </p>
    
    <pre>
    // A Mutex is a data type with two methods, Lock and Unlock.
    type Mutex struct         { /* Mutex fields */ }
    func (m *Mutex) Lock()    { /* Lock implementation */ }
    func (m *Mutex) Unlock()  { /* Unlock implementation */ }
    
    // NewMutex has the same composition as Mutex but its method set is empty.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        derived.cancel(false);
        assertTrue(primary.isCancelled());
        assertFalse(primary.wasInterrupted());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // mocks
      // TODO(cpovirk): eliminate use of mocks
      public void testCatchingAsync_resultCancelledAfterFallback() throws Exception {
        final SettableFuture<Integer> secondary = SettableFuture.create();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top