Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for gomock (0.38 sec)

  1. cni/pkg/ipset/nldeps_mock.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package ipset
    
    import (
    	"net/netip"
    
    	"github.com/stretchr/testify/mock"
    )
    
    type MockedIpsetDeps struct {
    	mock.Mock
    }
    
    func FakeNLDeps() *MockedIpsetDeps {
    	return &MockedIpsetDeps{}
    }
    
    func (m *MockedIpsetDeps) ipsetIPHashCreate(name string, v6 bool) error {
    	args := m.Called(name, v6)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/00-bug.yml

            GOVCS=""
            GOVERSION="go1.20.7"
            GCCGO="gccgo"
            AR="ar"
            CC="clang"
            CXX="clang++"
            CGO_ENABLED="1"
            GOMOD="/dev/null"
            GOWORK=""
            CGO_CFLAGS="-O2 -g"
            CGO_CPPFLAGS=""
            CGO_CXXFLAGS="-O2 -g"
            CGO_FFLAGS="-O2 -g"
            CGO_LDFLAGS="-O2 -g"
            PKG_CONFIG="pkg-config"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. istioctl/pkg/cli/mock_client.go

    Xiaopeng Han <******@****.***> 1709887099 +0800
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. istioctl/pkg/cli/mock_test.go

    Xiaopeng Han <******@****.***> 1686841337 +0800
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  5. cmd/object-api-interface_gen.go

    			z.CreatedAt, bts, err = msgp.ReadTimeBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "CreatedAt")
    				return
    			}
    		case "NoLock":
    			z.NoLock, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "NoLock")
    				return
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java

         * the type is irrelevant at runtime.
         */
        mock = mock(LoadingCache.class);
        forward =
            new ForwardingLoadingCache<String, Boolean>() {
              @Override
              protected LoadingCache<String, Boolean> delegate() {
                return mock;
              }
            };
      }
    
      public void testGet() throws ExecutionException {
        when(mock.get("key")).thenReturn(Boolean.TRUE);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  7. .github/dependabot.yml

    ---
    version: 2
    updates:
      - package-ecosystem: gomod
        directory: /
        schedule:
          interval: weekly
      - package-ecosystem: github-actions
        directory: /
        schedule:
          interval: weekly
      - package-ecosystem: gomod
        directory: /tests
        schedule:
    Others
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Aug 09 05:16:25 GMT 2021
    - 287 bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java

         * the type is irrelevant at runtime.
         */
        mock = mock(LoadingCache.class);
        forward =
            new ForwardingLoadingCache<String, Boolean>() {
              @Override
              protected LoadingCache<String, Boolean> delegate() {
                return mock;
              }
            };
      }
    
      public void testGet() throws ExecutionException {
        when(mock.get("key")).thenReturn(Boolean.TRUE);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-32/plexus-container-default-1.0-alpha-32.pom

                <configuration>
                  <artifactSet>
                    <excludes>
                      <exclude>classworlds:classworlds</exclude>
                      <exclude>junit:junit</exclude>
                      <exclude>jmock:jmock</exclude>
                      <exclude>org.codehaus.plexus:plexus-classworlds</exclude>
                      <exclude>org.codehaus.plexus:plexus-utils</exclude>
                    </excludes>
                  </artifactSet>
    Plain Text
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Thu Dec 24 18:09:10 GMT 2020
    - 3.5K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-32/plexus-container-default-1.0-alpha-32.pom

                <configuration>
                  <artifactSet>
                    <excludes>
                      <exclude>classworlds:classworlds</exclude>
                      <exclude>junit:junit</exclude>
                      <exclude>jmock:jmock</exclude>
                      <exclude>org.codehaus.plexus:plexus-classworlds</exclude>
                      <exclude>org.codehaus.plexus:plexus-utils</exclude>
                    </excludes>
                  </artifactSet>
    Plain Text
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 3.5K bytes
    - Viewed (0)
Back to top