Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 638 for Constant (0.06 sec)

  1. guava/src/com/google/common/util/concurrent/MoreExecutors.java

        }
        return result;
      }
    
      // TODO(lukes): provide overloads for ListeningExecutorService? ListeningScheduledExecutorService?
      // TODO(lukes): provide overloads that take constant strings? Function<Runnable, String>s to
      // calculate names?
    
      /**
       * Creates an {@link Executor} that renames the {@link Thread threads} that its tasks run in.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  2. cmd/utils.go

    			if len(buf) > 0 {
    				dst[typ+"-"+name+"."+prof.Extension()] = buf
    			}
    		}
    	}
    	return dst, nil
    }
    
    func setDefaultProfilerRates() {
    	runtime.MemProfileRate = 128 << 10 // 512KB -> 128K - Must be constant throughout application lifetime.
    	runtime.SetMutexProfileFraction(0) // Disable until needed
    	runtime.SetBlockProfileRate(0)     // Disable until needed
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  3. internal/config/config.go

    	BatchSubSys          = madmin.BatchSubSys
    	BrowserSubSys        = madmin.BrowserSubSys
    	ILMSubSys            = madmin.ILMSubsys
    
    	// Add new constants here (similar to above) if you add new fields to config.
    )
    
    // Notification config constants.
    const (
    	NotifyKafkaSubSys    = madmin.NotifyKafkaSubSys
    	NotifyMQTTSubSys     = madmin.NotifyMQTTSubSys
    	NotifyMySQLSubSys    = madmin.NotifyMySQLSubSys
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Ordering.java

      }
    
      /**
       * Returns an arbitrary ordering over all objects, for which {@code compare(a, b) == 0} implies
       * {@code a == b} (identity equality). There is no meaning whatsoever to the order imposed, but it
       * is constant for the life of the VM.
       *
       * <p>Because the ordering is identity-based, it is not "consistent with {@link
       * Object#equals(Object)}" as defined by {@link Comparator}. Use caution when building a {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

      }
    
      public void testIndex_nullKey() {
        List<Integer> values = Arrays.asList(1, 2);
        assertThrows(
            NullPointerException.class, () -> Multimaps.index(values, Functions.constant(null)));
      }
    
      @GwtIncompatible(value = "untested")
      public void testTransformValues() {
        SetMultimap<String, Integer> multimap =
            ImmutableSetMultimap.of("a", 2, "b", -3, "b", 3, "a", 4, "c", 6);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/networking/v1/generated.proto

      // serving this Ingress resource, by a transitive connection
      // (controller -> IngressClass -> Ingress resource). Although the
      // `kubernetes.io/ingress.class` annotation (simple constant name) was never
      // formally defined, it was widely supported by Ingress controllers to create
      // a direct binding between Ingress controller and Ingress resources. Newly
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Functions.constant;
    import static com.google.common.base.MoreObjects.toStringHelper;
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  8. internal/grid/grid_test.go

    		}
    		return
    	}
    }
    
    // Inserted manually.
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[StateUnconnected-0]
    	_ = x[StateConnecting-1]
    	_ = x[StateConnected-2]
    	_ = x[StateConnectionError-3]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  9. src/cmd/api/main_test.go

    }
    
    var listCache sync.Map // map[string]listImports, keyed by contextName
    
    // listSem is a semaphore restricting concurrent invocations of 'go list'. 'go
    // list' has its own internal concurrency, so we use a hard-coded constant (to
    // allow the I/O-intensive phases of 'go list' to overlap) instead of scaling
    // all the way up to GOMAXPROCS.
    var listSem = make(chan semToken, 2)
    
    type semToken struct{}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  10. LICENSE

    that what they have is not the original version, so that the original
    author's reputation will not be affected by problems that might be
    introduced by others.
    
      Finally, software patents pose a constant threat to the existence of
    any free program.  We wish to make sure that a company cannot
    effectively restrict the users of a free program by obtaining a
    restrictive license from a patent holder.  Therefore, we insist that
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
Back to top