Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for ErrRange (0.15 sec)

  1. src/strconv/atoc_test.go

    		// a little too large
    		{"1e308+1e308i", 1e+308 + 1e+308i, nil},
    		{"2e308+2e308i", infpp, ErrRange},
    		{"1e309+1e309i", infpp, ErrRange},
    		{"0x1p1025+0x1p1025i", infpp, ErrRange},
    		{"2e308", infp0, ErrRange},
    		{"1e309", infp0, ErrRange},
    		{"0x1p1025", infp0, ErrRange},
    		{"2e308i", inf0p, ErrRange},
    		{"1e309i", inf0p, ErrRange},
    		{"0x1p1025i", inf0p, ErrRange},
    		// way too large
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 03 23:05:51 UTC 2020
    - 6.8K bytes
    - Viewed (0)
  2. src/strconv/atoi.go

    // Note that lower of non-letters can produce other non-letters.
    func lower(c byte) byte {
    	return c | ('x' - 'X')
    }
    
    // ErrRange indicates that a value is out of range for the target type.
    var ErrRange = errors.New("value out of range")
    
    // ErrSyntax indicates that a value does not have the right syntax for the target type.
    var ErrSyntax = errors.New("invalid syntax")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/strconv/atoc.go

    // into a syntax or range error for ParseComplex.
    func convErr(err error, s string) (syntax, range_ error) {
    	if x, ok := err.(*NumError); ok {
    		x.Func = fnParseComplex
    		x.Num = stringslite.Clone(s)
    		if x.Err == ErrRange {
    			return nil, x
    		}
    	}
    	return err, nil
    }
    
    // ParseComplex converts the string s to a complex number
    // with the precision specified by bitSize: 64 for complex64, or 128 for complex128.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

      @Param boolean mutable;
    
      @Param InputOrder inputOrder;
    
      enum InputOrder {
        SORTED {
          @Override
          void arrange(List<Integer> list) {
            Collections.sort(list);
          }
        },
        ALMOST_SORTED {
          @Override
          void arrange(List<Integer> list) {
            Collections.sort(list);
            if (list.size() > 1) {
              int i = (list.size() - 1) / 2;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_ja() throws Exception {
            // ## Arrange ##
            Locale.setDefault(Locale.JAPANESE);
            final NullArgumentException nullArgumentException = new NullArgumentException("hoge");
            assertThat(nullArgumentException.getArgName(), is("hoge"));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java

            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_ja() throws Exception {
            // ## Arrange ##
            Locale.setDefault(Locale.JAPANESE);
            final SQLException sqlException = new SQLException("some reason", "fooState", 7650);
            final SQLException sqlException2 = new SQLException("hoge reason", "barState", 7660);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/cmd/tools/tools.go

    // Copyright 2023 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.
    
    //go:build tools
    
    package tools
    
    // Arrange to vendor the bisect command for use
    // by the internal/godebug package test.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:10 UTC 2023
    - 323 bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/FessLastaDocTest.java

        //                                                                           =========
        /*
        public void test_component() throws Exception {
            // ## Arrange ##
            String appWebPkg = ".app.web.";
            String actionSuffix = "Action";
    
            // ## Act ##
            policeStoryOfJavaClassChase((srcFile, clazz) -> {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/arm64/list7.go

    	case REG_LSL <= r && r < (REG_LSL+1<<8):
    		return fmt.Sprintf("R%d<<%d", r&31, (r>>5)&7)
    	case REG_ARNG <= r && r < REG_ELEM:
    		return fmt.Sprintf("V%d.%s", r&31, arrange((r>>5)&15))
    	case REG_ELEM <= r && r < REG_ELEM_END:
    		return fmt.Sprintf("V%d.%s", r&31, arrange((r>>5)&15))
    	}
    	// Return system register name.
    	name, _, _ := SysRegEnc(int16(r))
    	if name != "" {
    		return name
    	}
    	return fmt.Sprintf("badreg(%d)", r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. src/runtime/cgo/signal_ios_arm64.s

    	// On a foreign thread.
    	// TODO(crawshaw): call badsignal
    	MOVD.W $0, -16(RSP)
    	MOVW $139, R1
    	MOVW R1, 8(RSP)
    	B    runtime·exit(SB)
    
    ongothread:
    	// Trigger a SIGSEGV panic.
    	//
    	// The goal is to arrange the stack so it looks like the runtime
    	// function sigpanic was called from the PC that faulted. It has
    	// to be sigpanic, as the stack unwinding code in traceback.go
    	// looks explicitly for it.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 06 22:54:58 UTC 2020
    - 1.8K bytes
    - Viewed (0)
Back to top