Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for compareDates (0.15 sec)

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

            i = t1.compareToIgnoreCase(t2);
            if ( i == 0 ) {
                return f1name.compareToIgnoreCase(f2name);
            }
            return i;
        }
    
    
        protected int compareDates ( SmbFile f1, String f1name, SmbFile f2 ) throws IOException {
            if ( f1.isDirectory() != f2.isDirectory() ) {
                return f1.isDirectory() ? -1 : 1;
            }
            if ( f1.isDirectory() ) {
    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

            i = t1.compareToIgnoreCase( t2 );
            if( i == 0 ) {
                return f1name.compareToIgnoreCase( f2name );
            }
            return i;
        }
        protected int compareDates( SmbFile f1, String f1name, SmbFile f2 ) throws IOException {
            if( f1.isDirectory() != f2.isDirectory() ) {
                return f1.isDirectory() ? -1 : 1;
            }
            if( f1.isDirectory() ) {
    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