Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 341 for practice (0.35 sec)

  1. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
     * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for
     * ordinary tests.
     *
     * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time
     * period or an interrupt while waiting for the expected event will result in a {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Platform.java

        WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value);
        /*
         * We use `fromNullable` instead of `of` because `WeakReference.get()` has a nullable return
         * type.
         *
         * In practice, we are very unlikely to see `null`: The `WeakReference` to the enum constant
         * won't be cleared as long as the enum constant is referenced somewhere, and the enum constant
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/strconv/strconv_test.go

    			var localBuf [64]byte
    			AppendFloat(localBuf[:0], 1.23, 'g', 5, 64)
    		}},
    		{0, `AppendFloat(globalBuf[:0], 1.23, 'g', 5, 64)`, func() { AppendFloat(globalBuf[:0], 1.23, 'g', 5, 64) }},
    		// In practice we see 7 for the next one, but allow some slop.
    		// Before pre-allocation in appendQuotedWith, we saw 39.
    		{10, `AppendQuoteToASCII(nil, oneMB)`, func() { AppendQuoteToASCII(nil, string(oneMB)) }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 20:29:22 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Platform.java

        WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value);
        /*
         * We use `fromNullable` instead of `of` because `WeakReference.get()` has a nullable return
         * type.
         *
         * In practice, we are very unlikely to see `null`: The `WeakReference` to the enum constant
         * won't be cleared as long as the enum constant is referenced somewhere, and the enum constant
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/operations/execution/FilePropertyVisitor.java

             * <p>
             * This interface does not constrain the compatibility of values.
             * In practice however, such constraints do exist but are managed informally.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 10 08:07:59 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. src/math/big/floatmarsh.go

    		// actual mantissa slice could be shorter (trailing 0's) or longer (unused bits):
    		// - if shorter, only encode the words present
    		// - if longer, cut off unused words when encoding in bytes
    		//   (in practice, this should never happen since rounding
    		//   takes care of it, but be safe and do it always)
    		if len(x.mant) < n {
    			n = len(x.mant)
    		}
    		// len(x.mant) >= n
    		sz += 4 + n*_S // exp + mant
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. test/nilcheck.go

    	}
    	_ = x[9999] // ERROR "nil check"
    
    	fx10k()
    	// This one is a bit redundant, if we figured out that
    	// x wasn't going to change across the function call.
    	// But it's a little complex to do and in practice doesn't
    	// matter enough.
    	_ = x[9999] // ERROR "nil check"
    }
    
    func f3a() {
    	x := fx10k()
    	y := fx10k()
    	z := fx10k()
    	_ = &x[9] // ERROR "nil check"
    	y = z
    	_ = &x[9] // ERROR "nil check"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 30 18:41:59 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/sym.go

    // handling selector expressions.
    //
    // Ideally, Sym should be used for representing Go language constructs,
    // while cmd/internal/obj.LSym is used for representing emitted artifacts.
    //
    // NOTE: In practice, things can be messier than the description above
    // for various reasons (historical, convenience).
    type Sym struct {
    	Linkname string // link name
    
    	Pkg  *Pkg
    	Name string // object name
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. docs/features/calls.md

    # Calls
    
    The HTTP client’s job is to accept your request and produce its response. This is simple in theory but it gets tricky in practice.
    
    ## [Requests](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-request/)
    
    Each HTTP request contains a URL, a method (like `GET` or `POST`), and a list of headers. Requests may also contain a body: a data stream of a specific content type.
    
    ## [Responses](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-response/)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/sets/int32.go

    func (s1 Int32) IsSuperset(s2 Int32) bool {
    	return cast(s1).IsSuperset(cast(s2))
    }
    
    // Equal returns true if and only if s1 is equal (as a set) to s2.
    // Two sets are equal if their membership is identical.
    // (In practice, this means same elements, order doesn't matter)
    func (s1 Int32) Equal(s2 Int32) bool {
    	return cast(s1).Equal(cast(s2))
    }
    
    // List returns the contents as a sorted int32 slice.
    func (s Int32) List() []int32 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 3.9K bytes
    - Viewed (0)
Back to top