Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for tt (0.02 sec)

  1. internal/s3select/sql/value_test.go

    			want:   0,
    			wantOK: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			v := &Value{
    				value: tt.fields.value,
    			}
    			got, got1 := v.bytesToInt()
    			if got != tt.want {
    				t.Errorf("bytesToInt() got = %v, want %v", got, tt.want)
    			}
    			if got1 != tt.wantOK {
    				t.Errorf("bytesToInt() got1 = %v, want %v", got1, tt.wantOK)
    			}
    		})
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            if( password == null ) this.password = DEFAULT_PASSWORD;
        }
    /**
     * Create an <tt>NtlmPasswordAuthentication</tt> object from a
     * domain, username, and password. Parameters that are <tt>null</tt>
     * will be substituted with <tt>jcifs.smb1.smb1.client.domain</tt>,
     * <tt>jcifs.smb1.smb1.client.username</tt>, <tt>jcifs.smb1.smb1.client.password</tt>
     * property values.
     */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  3. cmd/object-api-utils_test.go

    			keys:     []string{"etag", "xyz"},
    			want:     map[string]string{"content-type": "application/octet-stream"},
    		},
    	}
    	for _, tt := range tests {
    		if got := cleanMetadataKeys(tt.metadata, tt.keys...); !reflect.DeepEqual(got, tt.want) {
    			t.Errorf("Test %s failed, expected %v, got %v", tt.name, tt.want, got)
    		}
    	}
    }
    
    // Tests isCompressed method
    func TestIsCompressed(t *testing.T) {
    	testCases := []struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Configuration.java

        boolean isUseBatching ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.nativeOs</tt> (string, default <tt>os.name</tt>)
         * 
         * @return OS string to report
         */
        String getNativeOs ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.nativeLanMan</tt> (string, default <tt>jCIFS</tt>)
         * 
         * @return Lanman string to report
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  5. istioctl/pkg/multicluster/remote_secret_test.go

    			})
    			client, err := ctx.CLIClient()
    			if err != nil {
    				tt.Fatalf("failed to create client: %v", err)
    			}
    			got, _, err := CreateRemoteSecret(client, opts)
    			if c.wantErrStr != "" {
    				if err == nil {
    					tt.Fatalf("wanted error including %q but got none", c.wantErrStr)
    				} else if !strings.Contains(err.Error(), c.wantErrStr) {
    					tt.Fatalf("wanted error including %q but got %v", c.wantErrStr, err)
    				}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResource.java

         * <tt>getType()</tt>, <tt>getDomainName()</tt>, <tt>getAccountName()</tt>,
         * or <tt>toString()</tt> is called, the names will attempt to be
         * resolved. If the names cannot be resolved (e.g. due to temporary
         * network failure), the said methods will return default values (usually
         * <tt>S-X-Y-Z</tt> strings of fragments of).
         * <p>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
  7. cni/pkg/repair/repair_test.go

    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			mt := monitortest.New(t)
    			tt.config.LabelPods = true
    			c, err := NewRepairController(tt.client, tt.config)
    			assert.NoError(t, err)
    			t.Cleanup(func() {
    				assert.NoError(t, c.queue.WaitForClose(time.Second))
    			})
    			stop := test.NewStop(t)
    			tt.client.RunAndWait(stop)
    			go c.Run(stop)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. cmd/metacache-entries_test.go

    			dir:      "",
    			sep:      slashSeparator,
    			want:     true,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.testName, func(t *testing.T) {
    			e := metaCacheEntry{
    				name: tt.entry,
    			}
    			if got := e.isInDir(tt.dir, tt.sep); got != tt.want {
    				t.Errorf("isInDir() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func Test_metaCacheEntries_resolve(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/UniAddress.java

                    return false;
                }
            }
            return true;
        }
    
        /**
         * Lookup <tt>hostname</tt> and return it's <tt>UniAddress</tt>. If the
         * <tt>possibleNTDomainOrWorkgroup</tt> parameter is <tt>true</tt> an
         * addtional name query will be performed to locate a master browser.
         */
    
        public static UniAddress getByName( String hostname,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  10. internal/bucket/object/lock/lock_test.go

    			expectErr:   false,
    		},
    	}
    	for _, tt := range tests {
    		tt := tt
    		t.Run("", func(t *testing.T) {
    			_, err := ParseObjectLockConfig(strings.NewReader(tt.value))
    			//nolint:gocritic
    			if tt.expectedErr == nil {
    				if err != nil {
    					t.Fatalf("error: expected = <nil>, got = %v", err)
    				}
    			} else if err == nil {
    				t.Fatalf("error: expected = %v, got = <nil>", tt.expectedErr)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top