Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Zhuang (0.2 sec)

  1. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

    import com.google.common.testing.NullPointerTester;
    import java.io.ByteArrayInputStream;
    import java.util.Arrays;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link HashingInputStream}.
     *
     * @author Qian Huang
     */
    public class HashingInputStreamTest extends TestCase {
      private Hasher hasher;
      private HashFunction hashFunction;
      private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 02 16:24:50 GMT 2020
    - 5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/HashingInputStream.java

    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    
    /**
     * An {@link InputStream} that maintains a hash of the data read from it.
     *
     * @author Qian Huang
     * @since 16.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public final class HashingInputStream extends FilterInputStream {
      private final Hasher hasher;
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

    import com.google.common.testing.NullPointerTester;
    import java.io.ByteArrayInputStream;
    import java.util.Arrays;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link HashingInputStream}.
     *
     * @author Qian Huang
     */
    public class HashingInputStreamTest extends TestCase {
      private Hasher hasher;
      private HashFunction hashFunction;
      private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 02 16:24:50 GMT 2020
    - 5K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.ScheduledFuture;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    
    /**
     * Tests for TestingExecutors.
     *
     * @author Eric Chang
     */
    public class TestingExecutorsTest extends TestCase {
      private volatile boolean taskDone;
    
      public void testNoOpScheduledExecutor() throws InterruptedException {
        taskDone = false;
        Runnable task =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.ScheduledFuture;
    import java.util.concurrent.TimeUnit;
    import junit.framework.TestCase;
    
    /**
     * Tests for TestingExecutors.
     *
     * @author Eric Chang
     */
    public class TestingExecutorsTest extends TestCase {
      private volatile boolean taskDone;
    
      public void testNoOpScheduledExecutor() throws InterruptedException {
        taskDone = false;
        Runnable task =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. licenses/github.com/huandu/xstrings/LICENSE

    The MIT License (MIT)
    
    Copyright (c) 2015 Huan Du
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 1K bytes
    - Viewed (0)
  7. tests/gorm_test.go

    			t.Fatalf("select expects: %v, got %v", u1.ID, gotUsers[0].ID)
    		} else if gotUsers[1].ID != u2.ID {
    			t.Fatalf("select expects: %v, got %v", u2.ID, gotUsers[1].ID)
    		}
    
    		u1.Name = "Jinzhu"
    		u2.Name = "Zhang"
    		if results := DB.Save([]*user{&u1, &u2}); results.Error != nil {
    			t.Fatalf("errors happened on update: %v", results.Error)
    		} else if results.RowsAffected != 2 {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Jun 01 07:22:21 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  8. cmd/storage-interface.go

    type StorageAPI interface {
    	// Stringified version of disk.
    	String() string
    
    	// Storage operations.
    
    	// Returns true if disk is online and its valid i.e valid format.json.
    	// This has nothing to do with if the drive is hung or not responding.
    	// For that individual storage API calls will fail properly. The purpose
    	// of this function is to know if the "drive" has "format.json" or not
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  9. istioctl/pkg/wait/wait_test.go

    	expectedOutput string // Expected constant output
    
    	wantException bool
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	if c.wantException {
    		// Ensure tests do not hang for 30s
    		c.args = append(c.args, "--timeout=20ms")
    	}
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  10. misc/cgo/gmp/gmp.go

    allocated by C.  The most important consideration is not to
    constrain future implementations, so the rule is that Go code can
    hand a Go pointer to C code but must separately arrange for
    Go to hang on to a reference to the pointer until C is done with it.
    */
    package gmp
    
    /*
    #cgo LDFLAGS: -lgmp
    #include <gmp.h>
    #include <stdlib.h>
    
    // gmp 5.0.0+ changed the type of the 3rd argument to mp_bitcnt_t,
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
Back to top