Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 112 for illegal (0.04 seconds)

  1. src/cmd/asm/internal/asm/expr_test.go

    	{"3>>-4", "negative right shift count"},
    	{"3>>(1<<63)", "negative right shift count"},
    	{"(1<<63)>>2", "right shift of value with high bit set"},
    	{"(1<<62)>>2", ""},
    	{`'\x80'`, "illegal UTF-8 encoding for character constant"},
    	{"(23*4", "missing closing paren"},
    	{")23*4", "unexpected ) evaluating expression"},
    	{"18446744073709551616", "value out of range"},
    }
    
    func TestBadExpr(t *testing.T) {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java

                            .getConfigProperties()
                            .get("aether.priority.WagonTransporterFactory"));
            properties.remove("maven.resolver.transport");
    
            // illegal
            properties.setProperty("maven.resolver.transport", "illegal");
            request.setSystemProperties(properties);
            IllegalArgumentException exception = assertThrowsExactly(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java

            for (String task : tasks) {
                if (isBeforeOrAfterPhase(task)) {
                    String prevTask = task;
                    task = PhaseId.of(task).phase();
                    LOGGER.warn("Illegal call to phase '{}'. The main phase '{}' will be used instead.", prevTask, task);
                }
                if (isGoalSpecification(task)) {
                    // "pluginPrefix[:version]:goal" or "groupId:artifactId[:version]:goal"
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 23:07:01 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

        strings = new String[SAMPLES];
        for (int i = 0; i < SAMPLES; i++) {
          StringBuilder sb = new StringBuilder();
          for (int j = 0; j < charCount; j++) {
            int codePoint;
            // discard illegal surrogate "codepoints"
            do {
              codePoint = rnd.nextInt(maxCodePoint.value);
            } while (Character.isSurrogate((char) codePoint));
            sb.appendCodePoint(codePoint);
          }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

            if (mirror != null) {
                String id = mirror.getId();
                if (id == null) {
                    // TODO this should be illegal in settings.xml
                    id = repository.getId();
                }
    
                log.debug("Using mirror: " + mirror.getUrl() + " (id: " + id + ")");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            Plugin testPlugin = null;
    
            for (Plugin plugin : plugins) {
                String pluginArtifactId = plugin.getArtifactId();
    
                assertTrue(validPluginCounts.containsKey(pluginArtifactId), "Illegal plugin found: " + pluginArtifactId);
    
                if (pluginArtifactId.equals(testPluginArtifactId)) {
                    testPlugin = plugin;
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 04 10:35:11 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  7. src/cmd/asm/internal/asm/testdata/riscv64error.s

    	MOVHU	X5, (X6)			// ERROR "unsupported unsigned store"
    	MOVWU	X5, (X6)			// ERROR "unsupported unsigned store"
    	MOVF	F0, F1, F2			// ERROR "illegal MOV instruction"
    	MOVD	F0, F1, F2			// ERROR "illegal MOV instruction"
    	MOV	X10, X11, X12			// ERROR "illegal MOV instruction"
    	MOVW	X10, X11, X12			// ERROR "illegal MOV instruction"
    	RORI	$64, X5, X6			// ERROR "immediate out of range 0 to 63"
    	SLLI	$64, X5, X6			// ERROR "immediate out of range 0 to 63"
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Sep 24 13:21:53 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

            for (String task : tasks) {
                if (isBeforeOrAfterPhase(task)) {
                    String prevTask = task;
                    task = PhaseId.of(task).phase();
                    logger.warn("Illegal call to phase '{}'. The main phase '{}' will be used instead.", prevTask, task);
                }
                if (isGoalSpecification(task)) {
                    // "pluginPrefix[:version]:goal" or "groupId:artifactId[:version]:goal"
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

          Headers
            .Builder()
            .addUnsafeNonAscii("header1", "valué1")
            .build()
        assertThat(headers.toString()).isEqualTo("header1: valué1\n")
      }
    
      // Fails on JS, ClassCastException: Illegal cast
      @Test fun ofMapThrowsOnNull() {
        assertFailsWith<NullPointerException> {
          (mapOf("User-Agent" to null) as Map<String, String>).toHeaders()
        }
      }
    
      @Test fun toMultimapGroupsHeaders() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/math/QuantilesTest.java

       * 2. Tests on hardcoded datasets include non-finite values for chains starting with scale(10);
       * 3. Tests on a mechanically generated dataset for chains starting with percentiles();
       * 4. Tests of illegal usages of the API.
       */
    
      /*
       * Covering every combination would lead to an explosion in the number of tests. So we cover only:
       * - median with compute taking a double-collection and with computeInPlace;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 29.8K bytes
    - Click Count (0)
Back to Top