Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 912 for illegal (0.2 sec)

  1. test/ddd1.go

    // errorcheck
    
    // Copyright 2010 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 uses of ... are detected.
    // Does not compile.
    
    package main
    
    import "unsafe"
    
    func sum(args ...int) int { return 0 }
    
    var (
    	_ = sum(1, 2, 3)
    	_ = sum()
    	_ = sum(1.0, 2.0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 22:28:39 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/misc/AssertionUtilTest.java

         * .
         */
        @Test
        public void testAssertArgument() {
            exception.expect(ClIllegalArgumentException.class);
            exception.expectMessage(is("[ECL0009]argument[hoge] is illegal. because hogeだからです。."));
            assertArgument("hoge", false, "hogeだからです。");
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.misc.AssertionUtil#assertState(boolean, String)} .
         */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_proto.go

    		wireType := int(wire & 0x7)
    		if wireType == 4 {
    			return fmt.Errorf("proto: Quantity: wiretype end group for non-group")
    		}
    		if fieldNum <= 0 {
    			return fmt.Errorf("proto: Quantity: illegal tag %d (wire type %d)", fieldNum, wire)
    		}
    		switch fieldNum {
    		case 1:
    			if wireType != 2 {
    				return fmt.Errorf("proto: wrong wireType = %d for field String_", wireType)
    			}
    			var stringLen uint64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 21 05:31:33 UTC 2021
    - 6K bytes
    - Viewed (0)
  4. src/runtime/internal/sys/nih.go

    //
    // The last point is the real benefit of NotInHeap. The runtime uses
    // it for low-level internal structures to avoid memory barriers in the
    // scheduler and the memory allocator where they are illegal or simply
    // inefficient. This mechanism is reasonably safe and does not compromise
    // the readability of the runtime.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 18:24:50 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  5. src/runtime/signal_darwin.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.1K bytes
    - Viewed (0)
  6. src/runtime/signal_dragonfly.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)
  7. src/runtime/signal_netbsd.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. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/PluginUseDslIntegrationSpec.groovy

            failure.assertThatCause(containsString("Only Project and Settings build scripts can contain plugins {} blocks"))
            includesLinkToUserguide()
        }
    
        def "illegal syntax in plugins block - #code"() {
            when:
            buildScript("""plugins {\n$code\n}""")
    
            then:
            fails "help"
            failure.assertHasLineNumber lineNumber
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  9. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildTaskDependencyIntegrationTest.groovy

                buildFile << """
        task illegal {
            dependsOn gradle.includedBuild('$buildName').task(':logProject')
        }
    """
            }
            includedBuilds << buildC
    
            buildA.buildFile << """
        task delegate {
            dependsOn gradle.includedBuild('buildC').task(':illegal')
        }
        task logProject {}
    """
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. src/crypto/x509/sec1_test.go

    	// This key was generated by GnuTLS and has illegal zero-padding of the
    	// private key. See https://golang.org/issues/13699.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 27 19:34:12 UTC 2019
    - 5.4K bytes
    - Viewed (0)
Back to top