Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 548 for avoided (0.05 sec)

  1. guava-tests/test/com/google/common/base/PreconditionsTest.java

        // operation) no overload can be selected in phase 1.  and in phase 2 it is ambiguous since it
        // matches with the second parameter being boxed and without it being boxed.  The cast to Object
        // avoids this.
        checkState(aBoolean, "", aBoolean ? "" : anInt, (Object) anInt);
    
        // ambiguous without the .booleanValue() call since the boxing forces us into phase 2 resolution
        short s = 2;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        float[][] arrays = new float[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        float[] sharedArray = new float[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Floats.concat(arrays);
          fail();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        int[][] arrays = new int[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        int[] sharedArray = new int[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Ints.concat(arrays);
          fail();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        double[][] arrays = new double[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        double[] sharedArray = new double[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Doubles.concat(arrays);
          fail();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        float[][] arrays = new float[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        float[] sharedArray = new float[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Floats.concat(arrays);
          fail();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        long[][] arrays = new long[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        long[] sharedArray = new long[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Longs.concat(arrays);
          fail();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LocalCache.java

            map.removalNotificationQueue.offer(notification);
          }
        }
    
        /**
         * Performs eviction if the segment is over capacity. Avoids flushing the entire cache if the
         * newest entry exceeds the maximum weight all on its own.
         *
         * @param newest the most recently added entry
         */
        @GuardedBy("this")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/custom-response.md

    But if you are certain that the content that you are returning is **serializable with JSON**, you can pass it directly to the response class and avoid the extra overhead that FastAPI would have by passing your return content through the `jsonable_encoder` before passing it to the response class.
    
    ```Python hl_lines="2  7"
    {!../../docs_src/custom_response/tutorial001b.py!}
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. cmd/object-api-utils.go

    		return ObjectNamePrefixAsSlash{
    			Bucket: bucket,
    			Object: object,
    		}
    	}
    	if runtime.GOOS == globalWindowsOSName {
    		// Explicitly disallowed characters on windows.
    		// Avoids most problematic names.
    		if strings.ContainsAny(object, `\:*?"|<>`) {
    			return ObjectNameInvalid{
    				Bucket: bucket,
    				Object: object,
    			}
    		}
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

                  && ((RegularImmutableSortedSet) result).isSubset;
          if (!isSubset) {
            // Only return the original copy if this immutable sorted set isn't
            // a subset of another, to avoid memory leak.
            return result;
          }
        }
        return copyOfInternal(comparator, elements.iterator());
      }
    
      private static <E> ImmutableSortedSet<E> copyOfInternal(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top