Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for fails (0.17 sec)

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

    			parser.start(lex.Tokenize(test.input))
    			addr := obj.Addr{}
    			parser.operand(&addr)
    		})
    
    		switch {
    		case err == nil:
    			t.Errorf("fail at %s: got no errors; expected %s\n", test.input, test.error)
    		case !strings.Contains(err.Error(), test.error):
    			t.Errorf("fail at %s: got %s; expected %s", test.input, err, test.error)
    		}
    	}
    }
    
    func testOperandParser(t *testing.T, parser *Parser, tests []operandTest) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    but guarantees never to return nil. If C's malloc indicates out of memory,
    the helper function crashes the program, like when Go itself runs out
    of memory. Because C.malloc cannot fail, it has no two-result form
    that returns errno.
    
    # C references to Go
    
    Go functions can be exported for use by C code in the following way:
    
    	//export MyFunction
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/archive/zip/reader_test.go

    	}
    }
    
    func TestCompressedDirectory(t *testing.T) {
    	// Empty Java JAR, with a compressed directory with uncompressed size 0
    	// which should not fail.
    	//
    	// Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
    	// --------  ------  ------- ---- ---------- ----- --------  ----
    	//        0  Defl:N        2   0% 12-01-2022 16:50 00000000  META-INF/
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  4. doc/go_spec.html

    </p>
    
    <ol>
    <li>
    	<p>
    	The type equations are solved for the bound
    	type parameters using <a href="#Type_unification">type unification</a>.
    	If unification fails, type inference fails.
    	</p>
    </li>
    <li>
    	<p>
    	For each bound type parameter <code>P<sub>k</sub></code> for which no type argument
    	has been inferred yet and for which one or more pairs
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    	// An untyped nil does not need a pointer check, and when
    	// _cgoCheckPointer returns the untyped nil the type assertion we
    	// are going to insert will fail.  Easier to just skip nil arguments.
    	// TODO: Note that this fails if nil is shadowed.
    	if id, ok := arg.(*ast.Ident); ok && id.Name == "nil" {
    		return false
    	}
    
    	return p.hasPointer(f, t, true)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/lex_test.go

    			"A",
    			"B",
    		),
    		"THIS.\n",
    	},
    	{
    		"nested #define with args",
    		lines(
    			"#define A #define B(x) x",
    			"A",
    			"B(THIS)",
    		),
    		"THIS.\n",
    	},
    	/* This one fails. See comment in Slice.Col.
    	{
    		"nested #define with args",
    		lines(
    			"#define A #define B (x) x",
    			"A",
    			"B(THIS)",
    		),
    		"x.\n",
    	},
    	*/
    }
    
    func TestLex(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  7. src/archive/tar/writer_test.go

    	hdr, err := FileInfoHeader(fileinfo, "")
    	if err != nil {
    		t.Fatalf("os.Stat:1 %v", err)
    	}
    	hdr.Typeflag = TypeDir
    	// Force a PAX long name to be written. The name was taken from a practical example
    	// that fails and replaced ever char through numbers to anonymize the sample.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  8. misc/ios/README

    the bundle id before installing a new app. If the uninstalled app is the last app by
    the developer identity, the device might also remove the permission to run apps from
    that developer, and the exec wrapper will fail to install the new app. To avoid that,
    install another app with the same developer identity but with a different bundle id.
    That way, the permission to install apps is held on to while the primary app is
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Dec 29 21:49:26 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  9. api/go1.18.txt

    pkg testing, method (*F) Add(...interface{})
    pkg testing, method (*F) Cleanup(func())
    pkg testing, method (*F) Error(...interface{})
    pkg testing, method (*F) Errorf(string, ...interface{})
    pkg testing, method (*F) Fail()
    pkg testing, method (*F) FailNow()
    pkg testing, method (*F) Failed() bool
    pkg testing, method (*F) Fatal(...interface{})
    pkg testing, method (*F) Fatalf(string, ...interface{})
    pkg testing, method (*F) Fuzz(interface{})
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/gcc68255/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that it's OK to have C code that does nothing other than
    // initialize a global variable.  This used to fail with gccgo.
    
    package gcc68255
    
    /*
    #include "c.h"
    */
    import "C"
    
    func F() bool {
    	return C.v != nil
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 378 bytes
    - Viewed (0)
Back to top