Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Example_A (0.1 sec)

  1. src/cmd/go/testdata/script/test_source_order.txt

    // license that can be found in the LICENSE file.
    
    // Make sure that go test runs Example_Z before Example_A, preserving source order.
    
    package p
    
    import "fmt"
    
    var n int
    
    func Example_Z() {
    	n++
    	fmt.Println(n)
    	// Output: 1
    }
    
    func Example_A() {
    	n++
    	fmt.Println(n)
    	// Output: 2
    }
    -- example2_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 19 20:40:29 UTC 2020
    - 992 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_match_only_example.txt

    // license that can be found in the LICENSE file.
    
    // Make sure that go test runs Example_Z before Example_A, preserving source order.
    
    package p
    
    import "fmt"
    
    var n int
    
    func Example_Z() {
    	n++
    	fmt.Println(n)
    	// Output: 1
    }
    
    func Example_A() {
    	n++
    	fmt.Println(n)
    	// Output: 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 19 20:40:29 UTC 2020
    - 583 bytes
    - Viewed (0)
  3. src/go/doc/testdata/examples/empty.go

    // Copyright 2021 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.
    
    package p
    
    func Example() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 206 bytes
    - Viewed (0)
  4. src/go/doc/example_test.go

    func ExampleVar1()   {} // invalid - no support for consts and vars
    
    func Example()               {}
    func Example_()              {} // invalid - suffix must start with a lower-case letter
    func Example_suffix()        {}
    func Example_suffix_xX_X_x() {}
    func Example_世界()           {} // invalid - suffix must start with a lower-case letter
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/dependency_verification.adoc

    You will likely face a dependency verification failure (either checksum verification or signature verification) and will need to figure out if the dependency has been compromised or not.
    
    In this section we give _an example_ how you can manually check if a dependency was compromised.
    
    For this we will take this example failure:
    
    ----
    > Dependency verification failed for configuration ':compileClasspath':
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:36:31 UTC 2024
    - 56.7K bytes
    - Viewed (0)
Back to top