Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 64 for testmovk (0.28 sec)

  1. src/cmd/go/script_test.go

    		t.Run(name, func(t *testing.T) {
    			t.Parallel()
    			StartProxy()
    
    			workdir, err := os.MkdirTemp(testTmpDir, name)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if !*testWork {
    				defer removeAll(workdir)
    			}
    
    			s, err := script.NewState(tbContext(ctx, t), workdir, env)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			// Unpack archive.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy

                    import org.junit.Assert;
                    import org.junit.Test;
    
                    public class ModTest {
                        @Test
                        public void testMod() {
                            Divisor divisor = new Divisor();
                            Assert.assertEquals(1, divisor.mod(5, 2));
                        }
                    }
                """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesTest.java

        File parent = getTestFile("ascii.txt");
        assertTrue(parent.isFile());
        File file = file(parent, "foo");
        assertThrows(IOException.class, () -> Files.createParentDirs(file));
      }
    
      public void testMove() throws IOException {
        File i18nFile = getTestFile("i18n.txt");
        File temp1 = createTempFile();
        File temp2 = createTempFile();
    
        Files.copy(i18nFile, temp1);
        moveHelper(true, temp1, temp2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  4. src/cmd/distpack/pack.go

    		"doc/**",
    		"misc/**",
    		"test/**",
    	)
    	modVers := modVersionPrefix + "-" + version + "." + goosDashGoarch
    	modArch.AddPrefix(modPath + "@" + modVers)
    	modArch.RenameGoMod()
    	modArch.Sort()
    	testMod(modArch)
    
    	// distpack returns the full path to name in the distpack directory.
    	distpack := func(name string) string {
    		return filepath.Join(goroot, "pkg/distpack", name)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/README

    Note also that in reported output, the actual name of the per-script temporary directory
    has been consistently replaced with the literal string $WORK.
    
    The cmd/go test flag -testwork (which must appear on the "go test" command line after
    standard test flags) causes each test to log the name of its $WORK directory and other
    environment variable settings and also to leave that directory behind when it exits,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. src/crypto/internal/bigmod/nat_test.go

    	for i, tt := range examples {
    		got := (&Nat{tt.in}).expand(tt.n)
    		if len(got.limbs) != len(tt.out) || got.Equal(&Nat{tt.out}) != 1 {
    			t.Errorf("%d: got %v, expected %v", i, got, tt.out)
    		}
    	}
    }
    
    func TestMod(t *testing.T) {
    	m := modulusFromBytes([]byte{0x06, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0d})
    	x := natFromBytes([]byte{0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 12 00:56:20 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoAggregationIntegrationTest.groovy

                    import org.junit.Assert;
                    import org.junit.Test;
    
                    public class ModTest {
                        @Test
                        public void testMod() {
                            Divisor divisor = new Divisor();
                            Assert.assertEquals(1, divisor.mod(5, 2));
                        }
                    }
                """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 26.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/IntMathTest.java

            try {
              IntMath.divide(p, 0, mode);
              fail("Expected ArithmeticException");
            } catch (ArithmeticException expected) {
            }
          }
        }
      }
    
      public void testMod() {
        for (int x : ALL_INTEGER_CANDIDATES) {
          for (int m : POSITIVE_INTEGER_CANDIDATES) {
            assertEquals(valueOf(x).mod(valueOf(m)).intValue(), IntMath.mod(x, m));
          }
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. src/math/big/nat_test.go

    		out, _ := new(Int).SetString(test.out, 10)
    
    		r := in.abs.modW(d.abs[0])
    		if r != out.abs[0] {
    			t.Errorf("#%d failed: got %d want %s", i, r, out)
    		}
    	}
    }
    
    func TestModW(t *testing.T) {
    	if _W >= 32 {
    		runModWTests(t, modWTests32)
    	}
    	if _W >= 64 {
    		runModWTests(t, modWTests64)
    	}
    }
    
    var montgomeryTests = []struct {
    	x, y, m      string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 15:29:36 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/LongMathTest.java

            LongMath.mod(x, 0);
            fail("Expected AE");
          } catch (ArithmeticException expected) {
          }
        }
      }
    
      @AndroidIncompatible // slow
      @GwtIncompatible // TODO
      public void testMod() {
        for (long x : ALL_LONG_CANDIDATES) {
          for (long m : POSITIVE_LONG_CANDIDATES) {
            assertEquals(valueOf(x).mod(valueOf(m)).longValue(), LongMath.mod(x, m));
          }
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
Back to top