Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for testLrot (0.14 sec)

  1. src/cmd/compile/internal/test/testdata/arith_test.go

    //go:noinline
    func lrot3_ssa(w uint32) uint32 {
    	// Want to be sure that a "rotate by 32" which
    	// is really 0 | (w >> 0) == w
    	// is correctly compiled.
    	return (w << 32) | (w >> (32 - 32))
    }
    
    func testLrot(t *testing.T) {
    	wantA, wantB, wantC, wantD := uint8(0xe1), uint16(0xe001),
    		uint32(0xe0000001), uint64(0xe000000000000001)
    	a, b, c, d := lrot1_ssa(0xf, 0xf, 0xf, 0xf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:30:59 UTC 2023
    - 43.5K bytes
    - Viewed (0)
  2. test/const7.go

    	}
    	defer os.RemoveAll(dir)
    
    	const bitLimit = 512
    	const charLimit = 10000 // compiler-internal constant length limit
    	testProg(dir, "x1", bitLimit, "")
    	testProg(dir, "x2", bitLimit+1, "constant overflow")
    	testProg(dir, "x3", charLimit-2, "constant overflow") // -2 because literal contains 0b prefix
    	testProg(dir, "x4", charLimit-1, "excessively long constant")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. src/runtime/crash_test.go

    		t.Skip("-quick")
    	}
    	testenv.MustHaveGoBuild(t)
    
    	testprog.Lock()
    	if testprog.dir == "" {
    		dir, err := os.MkdirTemp("", "go-build")
    		if err != nil {
    			t.Fatalf("failed to create temp directory: %v", err)
    		}
    		testprog.dir = dir
    		toRemove = append(toRemove, dir)
    	}
    
    	if testprog.target == nil {
    		testprog.target = make(map[string]*buildexe)
    	}
    	name := binary
    	if len(flags) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        Helpers.testComparator(comparator, ordered);
      }
    
      public void testSort() {
        testSort(new int[] {}, new int[] {});
        testSort(new int[] {2}, new int[] {2});
        testSort(new int[] {2, 1, 0}, new int[] {0, 1, 2});
        testSort(new int[] {2, GREATEST, 1, LEAST}, new int[] {LEAST, 1, 2, GREATEST});
      }
    
      static void testSort(int[] input, int[] expected) {
        input = Arrays.copyOf(input, input.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        Helpers.testComparator(comparator, ordered);
      }
    
      public void testSort() {
        testSort(new int[] {}, new int[] {});
        testSort(new int[] {2}, new int[] {2});
        testSort(new int[] {2, 1, 0}, new int[] {0, 1, 2});
        testSort(new int[] {2, GREATEST, 1, LEAST}, new int[] {LEAST, 1, 2, GREATEST});
      }
    
      static void testSort(int[] input, int[] expected) {
        input = Arrays.copyOf(input, input.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        Helpers.testComparator(comparator, ordered);
      }
    
      public void testSort() {
        testSort(new long[] {}, new long[] {});
        testSort(new long[] {2}, new long[] {2});
        testSort(new long[] {2, 1, 0}, new long[] {0, 1, 2});
        testSort(new long[] {2, GREATEST, 1, LEAST}, new long[] {LEAST, 1, 2, GREATEST});
      }
    
      static void testSort(long[] input, long[] expected) {
        input = Arrays.copyOf(input, input.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:36:17 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        Helpers.testComparator(comparator, ordered);
      }
    
      public void testSort() {
        testSort(new long[] {}, new long[] {});
        testSort(new long[] {2}, new long[] {2});
        testSort(new long[] {2, 1, 0}, new long[] {0, 1, 2});
        testSort(new long[] {2, GREATEST, 1, LEAST}, new long[] {LEAST, 1, 2, GREATEST});
      }
    
      static void testSort(long[] input, long[] expected) {
        input = Arrays.copyOf(input, input.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:36:17 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

          }
        }
      }
    
      public void testSort() {
        testSort(new byte[] {}, new byte[] {});
        testSort(new byte[] {2}, new byte[] {2});
        testSort(new byte[] {2, 1, 0}, new byte[] {0, 1, 2});
        testSort(new byte[] {2, GREATEST, 1, LEAST}, new byte[] {LEAST, 1, 2, GREATEST});
      }
    
      static void testSort(byte[] input, byte[] expected) {
        input = Arrays.copyOf(input, input.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

          }
        }
      }
    
      public void testSort() {
        testSort(new byte[] {}, new byte[] {});
        testSort(new byte[] {2}, new byte[] {2});
        testSort(new byte[] {2, 1, 0}, new byte[] {0, 1, 2});
        testSort(new byte[] {2, GREATEST, 1, LEAST}, new byte[] {LEAST, 1, 2, GREATEST});
      }
    
      static void testSort(byte[] input, byte[] expected) {
        input = Arrays.copyOf(input, input.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/ExtraPropertiesIntegrationTest.groovy

                createDirs("a", "a/a1")
                settingsFile << "include ':a:a1'"
    
                buildFile << """
                    ext.testProp = 'rootValue'
    
                    task checkTestProp {
                        doLast {
                            assert testProp == 'rootValue'
                        }
                    }
                """.stripIndent()
    
                ['a', 'b', 'a:a1'].each {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top