Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 371 for unusual (0.17 sec)

  1. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations.
     *
     * <p>For more extensive testing, add multiple equality groups. Each group should contain objects
     * that are equal to each other but unequal to the objects in any other group. For example:
     *
     * <pre>
     * new EqualsTester()
     *     .addEqualityGroup(new User("page"), new User("page"))
     *     .addEqualityGroup(new User("sergey"))
     *     .testEquals();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. samples/bookinfo/src/ratings/ratings.js

              })
            }
          })
        }
      } else {
          if (process.env.SERVICE_VERSION === 'v-faulty') {
            // in half of the cases return error,
            // in another half proceed as usual
            var random = Math.random(); // returns [0,1]
            if (random <= 0.5) {
              getLocalReviewsServiceUnavailable(res)
            } else {
              getLocalReviewsSuccessful(res, productId)
            }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Sep 02 00:29:57 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  3. misc/ios/README

    Go on iOS
    =========
    
    To run the standard library tests, run all.bash as usual, but with the compiler
    set to the clang wrapper that invokes clang for iOS. For example, this command runs
     all.bash on the iOS emulator:
    
    	GOOS=ios GOARCH=amd64 CGO_ENABLED=1 CC_FOR_TARGET=$(pwd)/../misc/ios/clangwrap.sh ./all.bash
    
    If CC_FOR_TARGET is not set when the toolchain is built (make.bash or all.bash), CC
    can be set on the command line. For example,
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 29 21:49:26 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/lif/link.go

    // On Solaris, each logical network interface represents network layer
    // adjacency information and the interface has a only single network
    // address or address pair for tunneling. It's usual that multiple
    // logical network interfaces share the same logical data link.
    type Link struct {
    	Name  string // name, equivalent to IP interface name
    	Index int    // index, equivalent to IP interface index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h.pump

    // separately from Test and WithParamInterface. For example:
    
    class BaseTest : public ::testing::Test {
      // You can inherit all the usual members for a non-parameterized test
      // fixture here.
    };
    
    class DerivedTest : public BaseTest, public ::testing::WithParamInterface<int> {
      // The usual test fixture members go here too.
    };
    
    TEST_F(BaseTest, HasFoo) {
      // This is an ordinary non-parameterized test.
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/build_pgo_auto.txt

    stderr 'compile.*-pgoprofile=.*a1.go'
    
    go test -a -n -pgo=auto ./a/a1
    stderr 'compile.*-pgoprofile=.*a1.go.*a1_test.go'
    stderr 'compile.*-pgoprofile=.*external_test.go'
    
    # go list commands should succeed as usual
    go list -pgo=auto ./a/a1
    
    go list -test -pgo=auto ./a/a1
    
    go list -deps -pgo=auto ./a/a1
    
    # -pgo=auto is the default. Commands without explicit -pgo=auto
    # should work as -pgo=auto.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. internal/crypto/sse.go

    func unsealObjectKey(clientKey []byte, metadata map[string]string, bucket, object string) (key ObjectKey, err error) {
    	sealedKey, err := SSEC.ParseMetadata(metadata)
    	if err != nil {
    		return
    	}
    	err = key.Unseal(clientKey, sealedKey, SSEC.String(), bucket, object)
    	return
    }
    
    // EncryptSinglePart encrypts an io.Reader which must be the
    // body of a single-part PUT request.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  8. src/cmd/go/internal/lockedfile/internal/filelock/filelock.go

    package filelock
    
    import (
    	"errors"
    	"io/fs"
    )
    
    // A File provides the minimal set of methods required to lock an open file.
    // File implementations must be usable as map keys.
    // The usual implementation is *os.File.
    type File interface {
    	// Name returns the name of the file.
    	Name() string
    
    	// Fd returns a valid file descriptor.
    	// (If the File is an *os.File, it must not be closed.)
    	Fd() uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_list_std.txt

    ! stdout ^builtin$
    ! stdout ^cmd/
    ! stdout ^vendor/
    ! stdout ^golang\.org/x/
    
    
    # Vendored dependencies should appear with their 'vendor/' paths in std (they're
    # in GOROOT/src, but not in the 'std' module following the usual module-boundary
    # rules).
    
    cd $GOROOT/src
    env GOWORK=off
    
    go list std
    stdout ^vendor/golang.org/x/net/http2/hpack
    ! stdout ^golang\.org/x
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 28 18:50:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. src/slices/iter.go

    // license that can be found in the LICENSE file.
    
    package slices
    
    import (
    	"cmp"
    	"iter"
    )
    
    // All returns an iterator over index-value pairs in the slice.
    // The indexes range in the usual order, from 0 through len(s)-1.
    func All[Slice ~[]E, E any](s Slice) iter.Seq2[int, E] {
    	return func(yield func(int, E) bool) {
    		for i, v := range s {
    			if !yield(i, v) {
    				return
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:40:32 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top