Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for foldName (0.36 sec)

  1. guava/src/com/google/common/util/concurrent/Callables.java

        return () -> {
          Thread currentThread = Thread.currentThread();
          String oldName = currentThread.getName();
          boolean restoreName = trySetName(nameSupplier.get(), currentThread);
          try {
            return callable.call();
          } finally {
            if (restoreName) {
              boolean unused = trySetName(oldName, currentThread);
            }
          }
        };
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. migrator.go

    	GetTypeAliases(databaseTypeName string) []string
    
    	// Tables
    	CreateTable(dst ...interface{}) error
    	DropTable(dst ...interface{}) error
    	HasTable(dst interface{}) bool
    	RenameTable(oldName, newName interface{}) error
    	GetTables() (tableList []string, err error)
    	TableType(dst interface{}) (TableType, error)
    
    	// Columns
    	AddColumn(dst interface{}, field string) error
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/os/file_plan9.go

    // Link creates newname as a hard link to the oldname file.
    // If there is an error, it will be of type *LinkError.
    func Link(oldname, newname string) error {
    	return &LinkError{"link", oldname, newname, syscall.EPLAN9}
    }
    
    // Symlink creates newname as a symbolic link to oldname.
    // On Windows, a symlink to a non-existent oldname creates a file symlink;
    // if oldname is later created as a directory the symlink will not work.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Callables.java

        return () -> {
          Thread currentThread = Thread.currentThread();
          String oldName = currentThread.getName();
          boolean restoreName = trySetName(nameSupplier.get(), currentThread);
          try {
            return callable.call();
          } finally {
            if (restoreName) {
              boolean unused = trySetName(oldName, currentThread);
            }
          }
        };
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. pkg/kubelet/container/os.go

    func (RealOS) MkdirAll(path string, perm os.FileMode) error {
    	return os.MkdirAll(path, perm)
    }
    
    // Symlink will call os.Symlink to create a symbolic link.
    func (RealOS) Symlink(oldname string, newname string) error {
    	return os.Symlink(oldname, newname)
    }
    
    // Stat will call os.Stat to get the FileInfo for a given path
    func (RealOS) Stat(path string) (os.FileInfo, error) {
    	return os.Stat(path)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  6. migrator/migrator.go

    	})
    
    	return count > 0
    }
    
    // RenameTable rename table from oldName to newName
    func (m Migrator) RenameTable(oldName, newName interface{}) error {
    	var oldTable, newTable interface{}
    	if v, ok := oldName.(string); ok {
    		oldTable = clause.Table{Name: v}
    	} else {
    		stmt := &gorm.Statement{DB: m.DB}
    		if err := stmt.Parse(oldName); err == nil {
    			oldTable = m.CurrentTable(stmt)
    		} else {
    			return err
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  7. src/regexp/syntax/compile.go

    	f.nullable = false
    	i := &c.p.Inst[f.i]
    	i.Rune = r
    	flags &= FoldCase // only relevant flag is FoldCase
    	if len(r) != 1 || unicode.SimpleFold(r[0]) == r[0] {
    		// and sometimes not even that
    		flags &^= FoldCase
    	}
    	i.Arg = uint32(flags)
    	f.out = makePatchList(f.i << 1)
    
    	// Special cases for exec machine.
    	switch {
    	case flags&FoldCase == 0 && (len(r) == 1 || len(r) == 2 && r[0] == r[1]):
    		i.Op = InstRune1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 13 14:52:20 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  8. src/regexp/syntax/prog.go

    	if i.op() != InstRune || len(i.Rune) != 1 {
    		return "", i.Op == InstMatch
    	}
    
    	// Have prefix; gather characters.
    	var buf strings.Builder
    	for i.op() == InstRune && len(i.Rune) == 1 && Flags(i.Arg)&FoldCase == 0 && i.Rune[0] != utf8.RuneError {
    		buf.WriteRune(i.Rune[0])
    		i = p.skipNop(i.Out)
    	}
    	return buf.String(), i.Op == InstMatch
    }
    
    // StartCond returns the leading empty-width conditions that must
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. pkg/kubelet/container/testing/os.go

    	if f.MkdirAllFn != nil {
    		return f.MkdirAllFn(path, perm)
    	}
    	return nil
    }
    
    // Symlink is a fake call that just returns nil.
    func (f *FakeOS) Symlink(oldname string, newname string) error {
    	if f.SymlinkFn != nil {
    		return f.SymlinkFn(oldname, newname)
    	}
    	return nil
    }
    
    // Stat is a fake that returns an error
    func (f *FakeOS) Stat(path string) (os.FileInfo, error) {
    	if f.StatFn != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 07 13:37:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. src/regexp/onepass.go

    		return "", i.Op == syntax.InstMatch, uint32(p.Start)
    	}
    
    	// Have prefix; gather characters.
    	var buf strings.Builder
    	for iop(i) == syntax.InstRune && len(i.Rune) == 1 && syntax.Flags(i.Arg)&syntax.FoldCase == 0 && i.Rune[0] != utf8.RuneError {
    		buf.WriteRune(i.Rune[0])
    		pc, i = i.Out, &p.Inst[i.Out]
    	}
    	if i.Op == syntax.InstEmptyWidth &&
    		syntax.EmptyOp(i.Arg)&syntax.EmptyEndText != 0 &&
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top