Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 215 for kwargs (0.16 sec)

  1. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.lastIndexOf(new int[] {(int) 2, (int) 3, (int) 2, (int) 3}, (int) 3))
            .isEqualTo(3);
      }
    
      @GwtIncompatible
      public void testMax_noArgs() {
        try {
          Ints.max();
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testMax() {
        assertThat(Ints.max(LEAST)).isEqualTo(LEAST);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 28.4K bytes
    - Viewed (0)
  2. istioctl/pkg/validate/validate.go

      kubectl get services -o yaml | istioctl validate -f -
    
      # Also see the related command 'istioctl analyze'
      istioctl analyze samples/bookinfo/networking/bookinfo-gateway.yaml
    `,
    		Args: cobra.NoArgs,
    		RunE: func(c *cobra.Command, _ []string) error {
    			istioNamespace := ctx.IstioNamespace()
    			defaultNamespace := ctx.NamespaceOrDefault("")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.lastIndexOf(ARRAY234, (char) 4)).isEqualTo(2);
        assertThat(Chars.lastIndexOf(new char[] {(char) 2, (char) 3, (char) 2, (char) 3}, (char) 3))
            .isEqualTo(3);
      }
    
      public void testMax_noArgs() {
        try {
          Chars.max();
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testMax() {
        assertThat(Chars.max(LEAST)).isEqualTo(LEAST);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  4. common/Makefile.common.mk

    XARGS = xargs -0 -r
    
    lint-dockerfiles:
    	@${FINDFILES} -name 'Dockerfile*' -print0 | ${XARGS} hadolint -c ./common/config/.hadolint.yml
    
    lint-scripts:
    	@${FINDFILES} -name '*.sh' -print0 | ${XARGS} -n 256 shellcheck
    
    lint-yaml:
    	@${FINDFILES} \( -name '*.yml' -o -name '*.yaml' \) -not -exec grep -q -e "{{" {} \; -print0 | ${XARGS} yamllint -c ./common/config/.yamllint.yml
    
    lint-helm:
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Mar 02 20:07:36 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheTesting.java

          operation.accept(entry);
          drainRecencyQueue(segment);
    
          assertNotSame(originalHead, segment.accessQueue.peek());
          assertEquals(cache.size(), accessQueueSize(cache));
        }
      }
    
      /** Warms the given cache by getting all values in {@code [start, end)}, in order. */
      static void warmUp(LoadingCache<Integer, Integer> map, int start, int end) {
        checkNotNull(map);
        for (int i = start; i < end; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  6. internal/logger/console.go

    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.quiet(msg+"\n", args...)
    	default:
    		if len(msg) != 0 && len(args) == 0 {
    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.pretty(msg+"\n", args...)
    	}
    }
    
    // Fatal prints only fatal error message with no stack trace
    // it will be called for input validation failures
    func Fatal(err error, msg string, data ...interface{}) {
    	fatal(err, msg, data...)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. internal/arn/arn_test.go

    			}
    		})
    	}
    }
    
    func TestNewIAMRoleARN(t *testing.T) {
    	type args struct {
    		resourceID   string
    		serverRegion string
    	}
    	tests := []struct {
    		name    string
    		args    args
    		want    ARN
    		wantErr bool
    	}{
    		{
    			name: "valid resource ID must succeed",
    			args: args{
    				resourceID:   "my-role",
    				serverRegion: "us-east-1",
    			},
    			want: ARN{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  8. cmd/local-locker.go

    	// lock on all resources at once.
    	for i, resource := range args.Resources {
    		l.lockMap[resource] = []lockRequesterInfo{
    			{
    				Name:            resource,
    				Writer:          true,
    				Source:          args.Source,
    				Owner:           args.Owner,
    				UID:             args.UID,
    				Timestamp:       UTCNow(),
    				TimeLastRefresh: UTCNow(),
    				Group:           len(args.Resources) > 1,
    				Quorum:          args.Quorum,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. istioctl/pkg/wait/wait_test.go

    		{
    			execClientConfig: cannedResponseMap,
    			args:             strings.Split("--generation=2 --timeout=20ms virtual-service foo.default", " "),
    			wantException:    true,
    		},
    		{
    			execClientConfig: cannedResponseMap,
    			args:             strings.Split("--generation=1 virtual-service foo.default", " "),
    			wantException:    false,
    		},
    		{
    			execClientConfig: cannedResponseMap,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 6.8K bytes
    - Viewed (1)
  10. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

              assertWithMessage(x + ", " + y + " (expected: " + expected + ", actual" + actual + ")")
                  .that(actual > 0)
                  .isTrue();
            }
          }
        }
      }
    
      public void testMax_noArgs() {
        try {
          SignedBytes.max();
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testMax() {
        assertThat(SignedBytes.max(LEAST)).isEqualTo(LEAST);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7K bytes
    - Viewed (0)
Back to top