Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for compareTypes (0.07 sec)

  1. src/main/java/jcifs/http/NetworkExplorer.java

            diff = f1.length() - f2.length();
            if ( diff == 0 ) {
                return f1name.compareToIgnoreCase(f2.getName());
            }
            return diff > 0 ? -1 : 1;
        }
    
    
        protected int compareTypes ( SmbFile f1, String f1name, SmbFile f2 ) throws IOException {
            String f2name, t1, t2;
            int i;
    
            if ( f1.isDirectory() != f2.isDirectory() ) {
                return f1.isDirectory() ? -1 : 1;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            }
            diff = f1.length() - f2.length();
            if( diff == 0 ) {
                return f1name.compareToIgnoreCase( f2.getName() );
            }
            return diff > 0 ? -1 : 1;
        }
        protected int compareTypes( SmbFile f1, String f1name, SmbFile f2 ) throws IOException {
            String f2name, t1, t2;
            int i;
    
            if( f1.isDirectory() != f2.isDirectory() ) {
                return f1.isDirectory() ? -1 : 1;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  3. cni/pkg/install/cniconfig_test.go

    				if !c.expectedFailure {
    					t.Fatal(err)
    				}
    				return
    			}
    
    			goldenFilepath := existingConfFilepath + ".golden"
    			goldenConfig := testutils.ReadFile(t, goldenFilepath)
    			testutils.CompareBytes(t, output, goldenConfig, goldenFilepath)
    		})
    	}
    }
    
    const (
    	// For testing purposes, set kubeconfigFilename equivalent to the path in the test files and use __KUBECONFIG_FILENAME__
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. cni/pkg/install/install_test.go

    				resultConfig := testutils.ReadFile(t, cniConfigFilePath)
    
    				goldenFilepath := filepath.Join("testdata", c.expectedConfigFilename)
    				goldenConfig := testutils.ReadFile(t, goldenFilepath)
    				testutils.CompareBytes(t, resultConfig, goldenConfig, goldenFilepath)
    			} else if file.Exists(cniConfigFilePath) {
    				t.Fatalf("file %s was not deleted", c.configFilename)
    			}
    
    			// check if kubeconfig is deleted
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top