Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 540 for desc3 (0.05 sec)

  1. src/main/java/jcifs/internal/smb1/net/NetShareEnum.java

            int start = dstIndex;
            byte[] descr;
    
            try {
                descr = DESCR.getBytes("ASCII");
            }
            catch ( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            SMBUtil.writeInt2(NET_SHARE_ENUM, dst, dstIndex);
            dstIndex += 2;
            System.arraycopy(descr, 0, dst, dstIndex, descr.length);
            dstIndex += descr.length;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NetShareEnum.java

            int start = dstIndex;
            byte[] descr;
    
            try {
                descr = DESCR.getBytes( "ASCII" );
            } catch( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            writeInt2( NET_SHARE_ENUM, dst, dstIndex );
            dstIndex += 2;
            System.arraycopy( descr, 0, dst, dstIndex, descr.length );
            dstIndex += descr.length;
            writeInt2( 0x0001, dst, dstIndex );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  3. operator/pkg/util/common_test.go

    )
    
    func TestIsFilePath(t *testing.T) {
    	tests := []struct {
    		desc string
    		in   string
    		want bool
    	}{
    		{
    			desc: "empty",
    			in:   "",
    			want: false,
    		},
    		{
    			desc: "no-markers",
    			in:   "foobar",
    			want: false,
    		},
    		{
    			desc: "with-slash",
    			in:   "/home/bobby/go_rocks/main",
    			want: true,
    		},
    		{
    			desc: "with-period",
    			in:   "istio.go",
    			want: true,
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  4. operator/pkg/util/path_test.go

    func TestSplitEscaped(t *testing.T) {
    	tests := []struct {
    		desc string
    		in   string
    		want []string
    	}{
    		{
    			desc: "empty",
    			in:   "",
    			want: []string{},
    		},
    		{
    			desc: "no match",
    			in:   "foo",
    			want: []string{"foo"},
    		},
    		{
    			desc: "first",
    			in:   ":foo",
    			want: []string{"", "foo"},
    		},
    		{
    			desc: "last",
    			in:   "foo:",
    			want: []string{"foo", ""},
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Aug 29 00:15:38 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  5. operator/pkg/util/util_test.go

    	tests := []struct {
    		desc string
    		in   string
    		want any
    	}{
    		{
    			desc: "empty",
    			in:   "",
    			want: "",
    		},
    		{
    			desc: "true",
    			in:   "true",
    			want: true,
    		},
    		{
    			desc: "false",
    			in:   "false",
    			want: false,
    		},
    		{
    			desc: "numeric-one",
    			in:   "1",
    			want: 1,
    		},
    		{
    			desc: "numeric-zero",
    			in:   "0",
    			want: 0,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  6. manifests/addons/dashboards/lib/panels.libsonnet

          + custom.withGradientMode('hue')
          + if std.length(desc) > 0 then
            timeSeries.panelOptions.withDescription(desc)
          else {},
    
        simple(title, targets, desc=''):
          self.base(title, targets, desc)
          + options.legend.withCalcs([])
          + options.legend.withDisplayMode('list'),
    
        short(title, targets, desc=''):
          self.base(title, targets, desc)
          + timeSeries.standardOptions.withUnit('short')
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults_test.go

    )
    
    func TestKMSProviderTimeoutDefaults(t *testing.T) {
    	testCases := []struct {
    		desc string
    		in   *KMSConfiguration
    		want *KMSConfiguration
    	}{
    		{
    			desc: "timeout not supplied",
    			in:   &KMSConfiguration{},
    			want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &defaultCacheSize, APIVersion: defaultAPIVersion},
    		},
    		{
    			desc: "timeout supplied",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. operator/pkg/tpath/util_test.go

    func TestAddSpecRoot(t *testing.T) {
    	tests := []struct {
    		desc   string
    		in     string
    		expect string
    		err    error
    	}{
    		{
    			desc: "empty",
    			in:   ``,
    			expect: `spec: {}
    `,
    			err: nil,
    		},
    		{
    			desc: "add-root",
    			in: `
    a: va
    b: foo`,
    			expect: `spec:
      a: va
      b: foo
    `,
    			err: nil,
    		},
    		{
    			desc:   "err",
    			in:     `i can't be yaml, can I?`,
    			expect: ``,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 27 09:06:29 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  9. operator/pkg/util/yaml_test.go

    	tests := []struct {
    		desc   string
    		in1    string
    		in2    string
    		expect bool
    	}{
    		{
    			desc:   "yaml-equal",
    			in1:    `foo: bar`,
    			in2:    `foo: bar`,
    			expect: true,
    		},
    		{
    			desc:   "bad-yaml-1",
    			in1:    "O#JF*()#",
    			in2:    `foo: bar`,
    			expect: false,
    		},
    		{
    			desc:   "bad-yaml-2",
    			in1:    `foo: bar`,
    			in2:    "#OHJ*#()F",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 17:00:14 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            int start = dstIndex;
            byte[] descr;
            int which = subCommand == NET_SERVER_ENUM2 ? 0 : 1;
    
            try {
                descr = DESCR[which].getBytes( "ASCII" );
            } catch( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            writeInt2( subCommand & 0xFF, dst, dstIndex );
            dstIndex += 2;
            System.arraycopy( descr, 0, dst, dstIndex, descr.length );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.5K bytes
    - Viewed (0)
Back to top