Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 591 - 600 of 980 for empty (0.02 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

    import java.util.Date
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.toHeaders
    import org.junit.jupiter.api.Test
    
    class HeadersJvmTest {
      @Test fun byteCount() {
        assertThat(Headers.EMPTY.byteCount()).isEqualTo(0L)
        assertThat(
          Headers
            .Builder()
            .add("abc", "def")
            .build()
            .byteCount(),
        ).isEqualTo(10L)
        assertThat(
          Headers
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. internal/bucket/lifecycle/evaluator.go

    func (e *Evaluator) IsPendingReplication(obj ObjectOpts) bool {
    	if e.replCfg == nil {
    		return false
    	}
    	if e.replCfg.HasActiveRules(obj.Name, true) && !obj.VersionPurgeStatus.Empty() {
    		return true
    	}
    
    	return false
    }
    
    // IsObjectLocked checks if it is appropriate to remove an
    // object according to locking configuration when this is lifecycle/ bucket quota asking.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Apr 08 15:41:24 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. src/bytes/iter.go

    import (
    	"iter"
    	"unicode"
    	"unicode/utf8"
    )
    
    // Lines returns an iterator over the newline-terminated lines in the byte slice s.
    // The lines yielded by the iterator include their terminating newlines.
    // If s is empty, the iterator yields no lines at all.
    // If s does not end in a newline, the final yielded line will not end in a newline.
    // It returns a single-use iterator.
    func Lines(s []byte) iter.Seq[[]byte] {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Sep 03 14:04:47 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. architecture/build-state-model.md

    The build state also includes what is currently called the "Gradle state". The Gradle state is being merged into the build state and is mostly empty.
    
    ### Project state
    
    The "project state" holds the state for a project for a single build execution, and is contained by the build state (and not the state of the parent project).
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 22 13:39:49 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  5. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

            writeBytes(readLines().joinToString(separator = separator, postfix = separator) { line ->
                when {
                    // We assume that the declaration is not empty.
                    line.startsWith("DEFAULT_JVM_OPTS='") && line.endsWith('\'') -> {
                        ++replacementsCount
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Apr 08 01:46:59 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Tables.java

       *     / value map
       * @param factory supplier of new, empty maps that will each hold all column key / value mappings
       *     for a given row key
       * @throws IllegalArgumentException if {@code backingMap} is not empty
       * @since 10.0
       */
      public static <R, C, V> Table<R, C, V> newCustomTable(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

                    result.getErrors().get(0));
        }
    
        @Test
        void testEmptyPluginVersion() throws Exception {
            SimpleProblemCollector result = validate("empty-plugin-version.xml");
    
            assertViolations(result, 0, 1, 0);
    
            assertEquals(
                    "'build.plugins.plugin.version' for org.apache.maven.plugins:maven-it-plugin"
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  8. helm-releases/minio-2.0.1.tgz

    .Release.Service }} {{- if .Values.consoleService.annotations }} annotations: {{ toYaml .Values.consoleService.annotations | indent 4 }} {{- end }} spec: {{- if (or (eq .Values.consoleService.type "ClusterIP" "") (empty .Values.consoleService.type)) }} type: ClusterIP {{- if not (empty .Values.consoleService.clusterIP) }} clusterIP: {{ .Values.consoleService.clusterIP }} {{end}} {{- else if eq .Values.consoleService.type "LoadBalancer" }} type: {{ .Values.consoleService.type }} loadBalancerIP: {{...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 31 09:09:09 GMT 2021
    - 13.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Table.java

       * value mapping in the table with that row key, the returned map associates the column key with
       * the value. If no mappings in the table have the provided row key, an empty map is returned.
       *
       * <p>Changes to the returned map will update the underlying table, and vice versa.
       *
       * @param rowKey key of row to search for in the table
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  10. cmd/erasure-metadata-utils.go

    // NOTE: collisions are fine, we are not looking for uniqueness
    // in the slices returned.
    func hashOrder(key string, cardinality int) []int {
    	if cardinality <= 0 {
    		// Returns an empty int slice for cardinality < 0.
    		return nil
    	}
    
    	nums := make([]int, cardinality)
    	keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable)
    
    	start := int(keyCrc % uint32(cardinality))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
Back to Top