Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Closes (0.2 sec)

  1. RELEASE.md

            not supported when used with `tf.distribute.Strategy` outside of
            built-in training loops like `tf.keras` `compile`/`fit`.
        *   Wraps losses passed to the `compile` API (strings and v1 losses) which
            are not instances of v2 `Loss` class in `LossWrapper` class. => All
            losses will now use `SUM_OVER_BATCH_SIZE` reduction as default.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  2. cni/pkg/nodeagent/net_test.go

    // and it is flake-prone to check for closure after calling it, this retries for a bit to make
    // sure the netns is closed eventually.
    func assertNSClosed(t *testing.T, closed *atomic.Bool) {
    	for i := 0; i < 5; i++ {
    		if closed.Load() {
    			return
    		}
    		time.Sleep(1 * time.Second)
    	}
    	t.Fatal("NS not closed")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  3. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

     * their lifecycle is shared as well: once supplied repository system is shut-down, this instance becomes closed as
     * well. Any subsequent {@code getXXX} method invocation attempt will fail with {@link IllegalStateException}.
     */
    public class RepositorySystemSupplier implements Supplier<RepositorySystem> {
        private final AtomicBoolean closed = new AtomicBoolean(false);
    
        public RepositorySystemSupplier() {}
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 26 13:10:42 GMT 2024
    - 43.7K bytes
    - Viewed (0)
  4. cmd/storage-rest-client.go

    	if err != nil {
    		return err
    	}
    	defer xhttp.DrainBody(respBody)
    	_, err = waitForHTTPResponse(respBody)
    	return toStorageErr(err)
    }
    
    // Close - marks the client as closed.
    func (client *storageRESTClient) Close() error {
    	client.restClient.Close()
    	return nil
    }
    
    var emptyDiskID = ""
    
    // Returns a storage rest client.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  5. cmd/metacache-set.go

    // gatherResults will collect all results on the input channel and filter results according
    // to the options or to the current bucket ILM expiry rules.
    // Caller should close the channel when done.
    // The returned function will return the results once there is enough or input is closed,
    // or the context is canceled.
    func (o *listPathOptions) gatherResults(ctx context.Context, in <-chan metaCacheEntry) func() (metaCacheEntriesSorted, error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  6. cmd/erasure.go

    				if !ok {
    					// Save final state...
    					cache.Info.NextCycle = wantCycle
    					cache.Info.LastUpdate = time.Now()
    					scannerLogOnceIf(ctx, cache.save(ctx, er, dataUsageCacheName), "nsscanner-channel-closed")
    					updates <- cache.clone()
    					return
    				}
    				cache.replace(v.Name, v.Parent, v.Entry)
    				cache.Info.LastUpdate = time.Now()
    			}
    		}
    	}()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  7. cmd/xl-storage.go

    	if err != nil {
    		w.Close()
    		return err
    	}
    
    	if n != len(b) {
    		w.Close()
    		return io.ErrShortWrite
    	}
    
    	// Dealing with error returns from close() - 'man 2 close'
    	//
    	// A careful programmer will check the return value of close(), since it is quite possible that
    	// errors on a previous write(2) operation are reported only on the final close() that releases
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. cmd/storage-rest-server.go

    			xioutil.SafeClose(c.done)
    			c.done = nil
    		}
    	}
    	return n, err
    }
    
    func (c *closeNotifier) Close() error {
    	if c.done != nil {
    		xioutil.SafeClose(c.done)
    		c.done = nil
    	}
    	return c.rc.Close()
    }
    
    // keepHTTPReqResponseAlive can be used to avoid timeouts with long storage
    // operations, such as bitrot verification or data usage scanning.
    // Every 10 seconds a space character is sent.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    	if err != nil {
    		if errors.Is(err, errFileNotFound) {
    			// An in-quorum errFileNotFound means that client stream
    			// prematurely closed and we do not find any xl.meta or
    			// part.1's - in such a scenario we must return as if client
    			// disconnected. This means that erasure.Encode() CreateFile()
    			// did not do anything.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  10. CREDITS

    the Program in a commercial product offering, such Contributor
    ("Commercial Contributor") hereby agrees to defend and indemnify every
    other Contributor ("Indemnified Contributor") against any losses,
    damages and costs (collectively "Losses") arising from claims, lawsuits
    and other legal actions brought by a third party against the Indemnified
    Contributor to the extent caused by the acts or omissions of such
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
Back to top