Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 496 for Behavior (0.24 seconds)

  1. src/bytes/bytes.go

    				// non-space bytes, so we're done. Non-ASCII cases have
    				// already been handled above.
    				return s[:hi+1]
    			}
    		}
    	}
    	// Special case to preserve previous TrimLeftFunc behavior,
    	// returning nil instead of empty slice if all spaces.
    	return nil
    }
    
    // Runes interprets s as a sequence of UTF-8-encoded code points.
    // It returns a slice of runes (Unicode code points) equivalent to s.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Sep 16 16:42:15 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  2. cmd/xl-storage_test.go

    		if err := xlStorageNew.MakeVol(t.Context(), "test-vol"); err != errDiskAccessDenied {
    			t.Fatalf("expected: %s, got: %s", errDiskAccessDenied, err)
    		}
    	}
    }
    
    // TestXLStorageDeleteVol - Validates the expected behavior of xlStorage.DeleteVol for various cases.
    func TestXLStorageDeleteVol(t *testing.T) {
    	// create xlStorage test setup
    	xlStorage, path, err := newXLStorageTestSetup(t)
    	if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     * `http://example.com/abc|def` because the `|` character is unsupported. This class is more
     * forgiving: it will automatically percent-encode the `|'` yielding `http://example.com/abc%7Cdef`.
     * This kind behavior is consistent with web browsers. `HttpUrl` prefers consistency with major web
     * browsers over consistency with obsolete specifications.
     *
     * ### Paths and Queries should decompose
     *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 63.5K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        assertThat(get(url).body.string()).isEqualTo("BB")
      }
    
      /**
       * When the server returns a full response body we will store it and return it regardless of what
       * its Last-Modified date is. This behavior was different prior to OkHttp 3.5 when we would prefer
       * the response with the later Last-Modified date.
       *
       * https://github.com/square/okhttp/issues/2886
       */
      @Test
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 116.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        checkLoggedCause(e);
    
        assertThat(cache.getUnchecked(2)).isEqualTo("2");
        assertThat(removalListener.getCount()).isEqualTo(0);
      }
    
    
      @AndroidIncompatible // Depends on GC behavior
      public void testReloadAfterValueReclamation() throws InterruptedException, ExecutionException {
        CountingLoader countingLoader = new CountingLoader();
        LoadingCache<Object, Object> cache =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 91.1K bytes
    - Click Count (0)
  6. cmd/iam.go

    	// policy, regardless of whether the number of statements is 0, this
    	// includes `null`, `{}` and `{"Statement": null}`. In fact, MinIO Console
    	// sends `null` when no policy is set and the intended behavior is that the
    	// service account should inherit parent policy. So when policy is empty in
    	// all fields we return hasSessionPolicy=false.
    	if subPolicy.Version == "" && subPolicy.Statements == nil && subPolicy.ID == "" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  7. src/bytes/bytes_test.go

    		[]byte("\xc0a\xc0cd"),
    		[]byte("ab\xc0a\xc0")},
    	{not(isValidRune), "\xc0a\xc0",
    		[]byte("a"),
    		[]byte("a\xc0"),
    		[]byte("\xc0a")},
    	// The nils returned by TrimLeftFunc are odd behavior, but we need
    	// to preserve backwards compatibility.
    	{isSpace, "",
    		nil,
    		nil,
    		[]byte("")},
    	{isSpace, " ",
    		nil,
    		nil,
    		[]byte("")},
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 23 23:54:14 GMT 2025
    - 62.9K bytes
    - Click Count (0)
  8. doc/go_spec.html

    	</li>
    </ul>
    
    <p>
    A comparison of two interface values with identical dynamic types
    causes a <a href="#Run_time_panics">run-time panic</a> if that type
    is not comparable.  This behavior applies not only to direct interface
    value comparisons but also when comparing arrays of interface values
    or structs with interface-valued fields.
    </p>
    
    <p>
    Slice, map, and function types are not comparable.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
  9. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        checkLoggedCause(e);
    
        assertThat(cache.getUnchecked(2)).isEqualTo("2");
        assertThat(removalListener.getCount()).isEqualTo(0);
      }
    
    
      @AndroidIncompatible // Depends on GC behavior
      public void testReloadAfterValueReclamation() throws InterruptedException, ExecutionException {
        CountingLoader countingLoader = new CountingLoader();
        LoadingCache<Object, Object> cache =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 91.1K bytes
    - Click Count (0)
  10. cmd/object-handlers.go

    	// if x-amz-metadata-directive says COPY then we
    	// return the default metadata.
    	if isDirectiveCopy(r.Header.Get(xhttp.AmzMetadataDirective)) {
    		return defaultMeta, nil
    	}
    
    	// Copy is default behavior if not x-amz-metadata-directive is set.
    	return defaultMeta, nil
    }
    
    // getRemoteInstanceTransport contains a roundtripper for external (not peers) servers
    var remoteInstanceTransport atomic.Value
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
Back to Top