Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for basename (1.9 sec)

  1. android/guava/src/com/google/common/io/TempFileCreator.java

          File baseDir = new File(JAVA_IO_TMPDIR.value());
          @SuppressWarnings("GoodTime") // reading system time without TimeSource
          String baseName = System.currentTimeMillis() + "-";
    
          for (int counter = 0; counter < TEMP_DIR_ATTEMPTS; counter++) {
            File tempDir = new File(baseDir, baseName + counter);
            if (tempDir.mkdir()) {
              return tempDir;
            }
          }
          throw new IllegalStateException(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. docs/debugging/xl-meta/main.go

    							return r
    						default:
    							return '_'
    						}
    					}, file)
    				}
    				if baseName == "" {
    					if strings.HasSuffix(file, "/xl.meta") {
    						baseName = strings.TrimSuffix(file, "/xl.meta")
    						if idx := strings.LastIndexByte(baseName, '/'); idx > 0 {
    							baseName = baseName[idx+1:]
    						}
    					}
    				}
    				err := data.files(func(name string, data []byte) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/TraversalUtil.java

                return EMPTY_ARRAY;
            }
    
            final String baseName = toDirectoryName(rootPackage);
            final List<Traverser> list = newArrayList();
            for (final Iterator<URL> it = ClassLoaderUtil.getResources(baseName); it.hasNext();) {
                final URL url = it.next();
                final Traverser resourcesType = getTraverser(url, rootPackage, baseName);
                if (resourcesType != null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/PluginHelper.java

            final String baseName = StringUtils.removeEndIgnoreCase(filename, ".jar");
            final List<String> nameList = new ArrayList<>();
            final List<String> versionList = new ArrayList<>();
            boolean isName = true;
            for (final String value : baseName.split("-")) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/Files.java

      }
    
      /**
       * Returns the file name without its <a
       * href="http://en.wikipedia.org/wiki/Filename_extension">file extension</a> or path. This is
       * similar to the {@code basename} unix command. The result does not include the '{@code .}'.
       *
       * @param file The name of the file to trim the extension from. This can be either a fully
       *     qualified file name (including a path) or just a file name.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Files.java

      }
    
      /**
       * Returns the file name without its <a
       * href="http://en.wikipedia.org/wiki/Filename_extension">file extension</a> or path. This is
       * similar to the {@code basename} unix command. The result does not include the '{@code .}'.
       *
       * @param file The name of the file to trim the extension from. This can be either a fully
       *     qualified file name (including a path) or just a file name.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  7. configure.py

        renamed_filepath = os.path.join(_TF_WORKSPACE_ROOT, filepath)
        symlink_force(existing_filepath, renamed_filepath)
      for filepath in IOS_FILES:
        filename = os.path.basename(filepath)
        new_filepath = os.path.join(_TF_WORKSPACE_ROOT, filename)
        symlink_force(filepath, new_filepath)
    
    
    def get_gcc_compiler(environ_cp):
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Apr 30 15:18:54 UTC 2025
    - 48.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

        @DisplayName("Test reset method with lastName")
        void testReset() {
            String domain = "WORKGROUP";
            int serverTypes = NetServerEnum2.SV_TYPE_ALL;
            netServerEnum2 = new NetServerEnum2(realConfig, domain, serverTypes);
    
            String lastName = "LASTSERVER";
            netServerEnum2.reset(1, lastName);
    
            assertEquals(lastName, getFieldValue(netServerEnum2, "lastName"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. cmd/metacache-entries_test.go

    	}
    }
    
    func Test_metaCacheEntries_resolve(t *testing.T) {
    	baseTime, err := time.Parse("2006/01/02", "2015/02/25")
    	if err != nil {
    		t.Fatal(err)
    	}
    	inputs := []xlMetaV2{
    		0: {
    			versions: []xlMetaV2ShallowVersion{
    				{header: xlMetaV2VersionHeader{
    					VersionID: [16]byte{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
    					ModTime:   baseTime.Add(30 * time.Minute).UnixNano(),
    					Signature: [4]byte{1, 1, 1, 1},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

                setField(resp, Trans2FindFirst2Response.class, "sid", 42);
                setField(resp, Trans2FindFirst2Response.class, "resumeKey", 100);
                setField(resp, Trans2FindFirst2Response.class, "lastName", "b");
                setField(resp, jcifs.internal.smb1.trans.SmbComTransactionResponse.class, "status", 0);
                resp.received();
                return resp;
            });
    
            // For Trans2FindNext2 calls
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top