Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 1,302 for SAME (0.03 sec)

  1. cmd/bucket-lifecycle.go

    	}
    	workers := *w
    	return workers[h%uint64(len(workers))]
    }
    
    func (es *expiryState) ResizeWorkers(n int) {
    	if n == 0 {
    		n = 100
    	}
    
    	// Lock to avoid multiple resizes to happen at the same time.
    	es.mu.Lock()
    	defer es.mu.Unlock()
    	var workers []chan expiryOp
    	if v := es.workers.Load(); v != nil {
    		// Copy to new array.
    		workers = append(workers, *v...)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.cc

    }
    
    // Set server_def on the context, possibly updating it.
    // TODO(b/291142876) Simplify TFE_ContextSetServerDefWithTimeoutAndRetries and
    // TFE_ContextUpdateServerDefWithTimeout to be simple wrappers around the same
    // C++ function.
    // Retries are used for CreateContext calls, which is used in
    // ParameterServerStrategy initialization to be robust to worker preemption.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  3. tensorflow/BUILD

    # REGISTER_OP and REGISTER_KERNEL_BUILDER (which use symbols from
    # libtensorflow_framework.so), and pywrap_tensorflow can then use these
    # ops. Since other languages use the same libtensorflow_framework.so, op
    # libraries are language agnostic.
    #
    # This shared object is not used unless framework_shared_object=true (set in the
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 05:28:35 UTC 2024
    - 53.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/DuplexTest.kt

        val call = client.newCall(request)
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("timeout")
        }
      }
    
      /** Same as the previous test, but the server stalls sending the response body.  */
      @Test
      fun bodyReadTimeoutDoesNotStartUntilLastRequestBodyByteFire() {
        enableProtocol(Protocol.HTTP_2)
        server.enqueue(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. cmd/peer-rest-client.go

    				time.Sleep(5 * time.Second)
    			}
    		}
    	}()
    }
    
    // newPeerRestClients creates new peer clients.
    // The two slices will point to the same clients,
    // but 'all' will contain nil entry for local client.
    // The 'all' slice will be in the same order across the cluster.
    func newPeerRestClients(endpoints EndpointServerPools) (remote, all []*peerRESTClient) {
    	if !globalIsDistErasure {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/autoscaling/v1/generated.proto

      optional int32 replicas = 1;
    
      // selector is the label query over pods that should match the replicas count. This is same
      // as the label selector but in the string format to avoid introspection
      // by clients. The string will be in the same format as the query-param syntax.
      // More info about label selectors: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/IntsTest.java

              .isTrue();
        }
      }
    
      public void testCompare() {
        for (int x : VALUES) {
          for (int y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
                .that(Ints.compare(x, y))
                .isEqualTo(Integer.valueOf(x).compareTo(y));
          }
        }
      }
    
      public void testContains() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/LongsTest.java

              .isEqualTo(((Long) value).hashCode());
        }
      }
    
      public void testCompare() {
        for (long x : VALUES) {
          for (long y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
                .that(Longs.compare(x, y))
                .isEqualTo(Long.valueOf(x).compareTo(y));
          }
        }
      }
    
      public void testContains() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

             * that chained message. Before doing so we must increment
             * the batchLevel of the andx message in case it itself is an
             * andx message and needs to perform the same check as above.
             */
    
            this.andx.batchLevel = this.batchLevel + 1;
    
            dst[ start + ANDX_COMMAND_OFFSET ] = this.andxCommand;
            dst[ start + ANDX_RESERVED_OFFSET ] = (byte) 0x00;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  10. cmd/erasure-metadata-utils.go

    		}
    		errorCounts[err]++
    	}
    
    	max := 0
    	for err, count := range errorCounts {
    		switch {
    		case max < count:
    			max = count
    			maxErr = err
    
    		// Prefer `nil` over other error values with the same
    		// number of occurrences.
    		case max == count && err == nil:
    			maxErr = err
    		}
    	}
    	return max, maxErr
    }
    
    // reduceQuorumErrs behaves like reduceErrs by only for returning
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top