Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1311 - 1320 of 1,435 for set1 (0.03 seconds)

  1. android/guava/src/com/google/common/math/BigIntegerMath.java

         * then we can get a double approximation of the square root. Then, we iteratively improve this
         * guess with an application of Newton's method, which sets guess := (guess + (x / guess)) / 2.
         * This iteration has the following two properties:
         *
         * a) every iteration (except potentially the first) has guess >= floor(sqrt(x)). This is
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  2. CHANGELOG/CHANGELOG-1.24.md

    ## Changes by Kind
    
    ### API Change
    
    - Added error handling for seccomp localhost configurations that do not properly set a localhostProfile ([#117020](https://github.com/kubernetes/kubernetes/pull/117020), [@cji](https://github.com/cji)) [SIG API Machinery and Node]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Aug 24 00:02:43 GMT 2023
    - 473.4K bytes
    - Click Count (0)
  3. src/bytes/bytes_test.go

    			}
    
    			b.ResetTimer()
    			for i := 0; i < b.N; i++ {
    				Compare(x, y)
    			}
    		})
    	}
    }
    
    func BenchmarkIndexAnyASCII(b *testing.B) {
    	x := Repeat([]byte{'#'}, 2048) // Never matches set
    	cs := "0123456789abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz"
    	for k := 1; k <= 2048; k <<= 4 {
    		for j := 1; j <= 64; j <<= 1 {
    			b.Run(fmt.Sprintf("%d:%d", k, j), func(b *testing.B) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:07:05 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        float[] array = {0.0f, 1.0f};
        List<Float> list = Floats.asList(array);
        list.set(0, 2.0f);
        assertThat(array).isEqualTo(new float[] {2.0f, 1.0f});
        array[1] = 3.0f;
        assertThat(list).containsExactly(2.0f, 3.0f).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        int[] array = {(int) 0, (int) 1};
        List<Integer> list = Ints.asList(array);
        list.set(0, (int) 2);
        assertThat(array).isEqualTo(new int[] {(int) 2, (int) 1});
        array[1] = (int) 3;
        assertThat(list).containsExactly((int) 2, (int) 3).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        float[] array = {0.0f, 1.0f};
        List<Float> list = Floats.asList(array);
        list.set(0, 2.0f);
        assertThat(array).isEqualTo(new float[] {2.0f, 1.0f});
        array[1] = 3.0f;
        assertThat(list).containsExactly(2.0f, 3.0f).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  7. internal/bucket/replication/replication_test.go

    			}
    			if got := cfg.HasActiveRules(tc.prefix, false); got != tc.expectedNonRec {
    				t.Fatalf("Expected result with recursive set to false: `%v`, got: `%v`", tc.expectedNonRec, got)
    			}
    			if got := cfg.HasActiveRules(tc.prefix, true); got != tc.expectedRec {
    				t.Fatalf("Expected result with recursive set to true: `%v`, got: `%v`", tc.expectedRec, got)
    			}
    		})
    	}
    }
    
    func TestFilterActionableRules(t *testing.T) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.4K bytes
    - Click Count (0)
  8. src/cmd/asm/internal/lex/input.go

    		includes:        append([]string{filepath.Dir(name)}, flags.I...),
    		beginningOfLine: true,
    		macros:          predefine(flags.D),
    	}
    }
    
    // predefine installs the macros set by the -D flag on the command line.
    func predefine(defines flags.MultiFlag) map[string]*Macro {
    	macros := make(map[string]*Macro)
    	for _, name := range defines {
    		value := "1"
    		i := strings.IndexRune(name, '=')
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  9. src/archive/zip/reader_test.go

    	// Second, if ContentErr==nil, the content should match Content.
    	// If content is large, an alternative to setting Content is to set File,
    	// which names a file in the testdata/ directory containing the
    	// uncompressed expected content.
    	// If content is very large, an alternative to setting Content or File
    	// is to set Size, which will then be checked against the header-reported size
    	// but will bypass the decompressing of the actual data.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 15 18:35:56 GMT 2026
    - 57.9K bytes
    - Click Count (0)
  10. fastapi/.agents/skills/fastapi/SKILL.md

    ```bash
    fastapi dev my_app/main.py
    ```
    
    Prefer to set the entrypoint in `pyproject.toml` when possible.
    
    ## Use `Annotated`
    
    Always prefer the `Annotated` style for parameter and dependency declarations.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
Back to Top