Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 529 for isLegal (0.16 sec)

  1. android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java

        assertEquals(written, counter.getCount());
    
        counter.write(data, 2, 5);
        written += 5;
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
        // Test that illegal arguments do not affect count
        assertThrows(IndexOutOfBoundsException.class, () -> counter.write(data, 0, data.length + 1));
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. gradle/dependency-management/capabilities.json

    //
    // The idea is that such "rules" could be published, then applied by a plugin.
    //
    // Whenever two libraries provide the same capability, for example, "log4j" and "log4j-over-slfj4",
    // it's illegal to have both of them on the classpath. Use this file to declare that they provide
    // the same capability, and that we prefer to use slf4j in this case.
    [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 14:54:52 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/errors.go

    	}
    
    	name = "Unknown"
    	obj := a.GetObject()
    	if obj != nil {
    		accessor, err := meta.Accessor(obj)
    		if err != nil {
    			// not all object have ObjectMeta.  If we don't, return a name with a slash (always illegal)
    			return "Unknown/errorGettingName", resource, nil
    		}
    
    		// this is necessary because name object name generation has not occurred yet
    		if len(accessor.GetName()) > 0 {
    			name = accessor.GetName()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 26 19:40:51 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  4. maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            Settings settings = new Settings();
            Mirror mirror = new Mirror();
            mirror.setId("local");
            settings.addMirror(mirror);
            mirror = new Mirror();
            mirror.setId("illegal\\:/chars");
            mirror.setUrl("http://void");
            mirror.setMirrorOf("void");
            settings.addMirror(mirror);
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/custom_call.h

    };
    
    // Ops that have a call_target_name starting with the prefix "custom_call." and
    // backend_config of type StringAttr (if specified) should be legalized (i.e.
    // considered to be illegal if still present after this pass is complete).
    std::optional<bool> IsCustomCallLegal(mhlo::CustomCallOp op);
    
    }  // namespace odml
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 02:41:24 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. test/shift1.go

    // errorcheck
    
    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test illegal shifts.
    // Issue 1708, illegal cases.
    // Does not compile.
    
    package p
    
    func f(x int) int         { return 0 }
    func g(x interface{}) int { return 0 }
    func h(x float64) int     { return 0 }
    
    // from the spec
    var (
    	s uint    = 33
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 03 16:24:32 UTC 2021
    - 9.4K bytes
    - Viewed (0)
  7. src/runtime/signal_freebsd.go

    	/* 1 */ {_SigNotify + _SigKill, "SIGHUP: terminal line hangup"},
    	/* 2 */ {_SigNotify + _SigKill, "SIGINT: interrupt"},
    	/* 3 */ {_SigNotify + _SigThrow, "SIGQUIT: quit"},
    	/* 4 */ {_SigThrow + _SigUnblock, "SIGILL: illegal instruction"},
    	/* 5 */ {_SigThrow + _SigUnblock, "SIGTRAP: trace trap"},
    	/* 6 */ {_SigNotify + _SigThrow, "SIGABRT: abort"},
    	/* 7 */ {_SigThrow, "SIGEMT: emulate instruction executed"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:40:19 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  8. src/runtime/signal_openbsd.go

    	/*  1 */ {_SigNotify + _SigKill, "SIGHUP: terminal line hangup"},
    	/*  2 */ {_SigNotify + _SigKill, "SIGINT: interrupt"},
    	/*  3 */ {_SigNotify + _SigThrow, "SIGQUIT: quit"},
    	/*  4 */ {_SigThrow + _SigUnblock, "SIGILL: illegal instruction"},
    	/*  5 */ {_SigThrow + _SigUnblock, "SIGTRAP: trace trap"},
    	/*  6 */ {_SigNotify + _SigThrow, "SIGABRT: abort"},
    	/*  7 */ {_SigThrow, "SIGEMT: emulate instruction executed"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 22 18:58:08 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DuplicateArtifactAttachmentException.java

            this.artifact = artifact;
        }
    
        private static String constructMessage(MavenProject project, Artifact artifact) {
            return DEFAULT_MESSAGE + " (project: " + project.getId() + "; illegal attachment: " + artifact.getId() + ")";
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        public Artifact getArtifact() {
            return artifact;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. test/complit1.go

    // errorcheck
    
    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Verify that illegal composite literals are detected.
    // Does not compile.
    
    package main
    
    var m map[int][3]int
    
    func f() [3]int
    
    func fp() *[3]int
    
    var mp map[int]*[3]int
    
    var (
    	_ = [3]int{1, 2, 3}[:] // ERROR "slice of unaddressable value"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 02 05:14:45 UTC 2021
    - 1.6K bytes
    - Viewed (0)
Back to top