Displaying 20 results from an estimated 153 matches for "newname".
Did you mean:
netname
2013 Sep 05
12
[PATCH 0/5] Memory leaks amended
Memory leaks found by the tool--valgrind along with static reviewing.
Based on Daivd''s branch ''integration-20130903''.
Gui Hecheng (5):
btrfs-progs:free local variable buf upon unsuccessful returns
btrfs-progs:local variable memory freed
btrfs-progs: missing tree-freeing statements added
btrfs-progs:free the local list pending_list in btrfs_scan_one_dir
2005 Mar 26
2
Is there a diferent way to do this?
Hi,
I started creating a small class but I'm courious about how it is working.
To create a instance of my class "Partri" I write this at Rgui:
x <- new("Partri", name="Gilvan")
and to change the slot "name" of this instance, I write:
setName(x, newname="Justino")
It is not working, because when I type "x" at Rgui, it shows the initial value, which was "Gilvan". What I am doing wrong?
I'll appreciate any king of help!
Gilvan
# Classe para representar um parĂ¢metro
setClass("Partri",
# parĂ¢metro...
2006 May 07
2
[LLVMdev] The Next Win32 File System Problem
...\llvm_home\install\bin\llvm-ar.exe: Can't move './libgcc.a-000003' to './libgcc.a-000002': Cannot create a file when that file already exists.
So apparently, we're trying to move one file on top of another.
The error is generated in:
Path::renamePathOnDisk(const Path& newName) {
if (!MoveFile(path.c_str(), newName.c_str()))
ThrowError("Can't move '" + path +
"' to '" + newName.path + "': ");
return true;
}
I'm guessing that the last part of the error message ("Cannot create a
file when th...
2017 Jun 11
1
translateChar in NewName in bind.c
I see another thing in function 'NewName' in bind.c. In
else if (*CHAR(tag)) ,
'ans' is basically copied from 'tag'. Could the whole thing there be just the following?
ans = tag;
It seems to me that it can also replace
ans = R_BlankString;
in 'else'; so,
else if (*CHAR(tag))
and
else
can be merged to be just
el...
2005 Jan 14
1
RE: [R] as.character methods
...ance.
I hoping to generalize my as.character question to a real-life
as.character / print method example that is causing more problems than
I'd like to admit, and that I hope I could get feedback from.
Briefly, I'm looking to extend the "name" class into a new class I call
"newName" which performs just as "name" does except that when a
"newName" object is printed that has been initialized without a value,
it prints NULL to the screen instead of `<UNDEFINED>`. I chose the
"name" class as I am using extensions of name, call, and expressi...
2023 Jul 26
2
Rename Computer on Domain
.....
ldbrename -H ldap://DC1 -UAdministrator 'CN=DT06,OU=Desktops,OU=Computers,DC=domain,DC=com' 'CN=WH23,OU=Desktops,OU=Computers,DC=domain,DC=com'
... and then for future full rename on the domain, we will use ...
net dom renamecomputer -S OLDNAME -U OLDNAME\\administrator%secret newname=NEWNAME account=DOMAIN\\administrator password=topsecret reboot
Thanks.
--
Paul Littlefield
2006 May 07
0
[LLVMdev] The Next Win32 File System Problem
...-ar.exe: Can't move './libgcc.a-000003' to './libgcc.a-000002': Cannot create a file when that file already exists.
>
> So apparently, we're trying to move one file on top of another.
>
> The error is generated in:
>
> Path::renamePathOnDisk(const Path& newName) {
> if (!MoveFile(path.c_str(), newName.c_str()))
> ThrowError("Can't move '" + path +
> "' to '" + newName.path + "': ");
> return true;
> }
>
> I'm guessing that the last part of the error message (...
2010 Oct 13
4
Change global env variables from within a function
...t in a simple manner.
Given:
tempdf <- data.frame("a" = 1:6, "b" = 7:12)
#I can rename a to g this way:
names(tempdf)[names(tempdf)=="a"] <- "g"
#Wanting to simplify this for the future, I have the function:
colrename <- function(dframe, oldname, newname) {
names(dframe)[names(dframe)==oldname] <- newname
}
colrename(tempdf, "a", "g")
#However of course the change to tempdf stays within colrename(). I
could add "return(names(dframe))" to the function and then call the
function like:
#names(tempdf) <...
2010 Aug 08
0
Project: writing a vfs module to preverse permissions with MS Office
...All versions of Microsoft Office
- All versions of Microsoft Windows
- All supported file formats?
Moreover I'll be targeting/testing on Linux only, so other OSes users
will be welcome.
Thank you for your time,
--
Pierre Carrier
log.pierre-a3ca0284.1: ?vfs_extd_audit: rename old: ./s.docx newname:
./5D1CA1C1.tmp
log.pierre-a3ca0284.1: ?vfs_extd_audit: rename old: ./86A278C0.tmp
newname: ./s.docx
log.pierre-a3ca0284.2: ?vfs_extd_audit: rename old: ./Classeur1.xls
newname: ./F7C49255.tmp
log.pierre-a3ca0284.2: ?vfs_extd_audit: rename old: ./9E117AA4.tmp
newname: ./Classeur1.xls
log.pierre-a3c...
2002 Feb 25
3
PATCH: Samba/Win2K renaming bug
...SHARING_VIOLATION;
+ }
+ DEBUG(4, ("can_rename: returning OK\n"));
return NT_STATUS_OK;
}
@@ -3651,9 +3658,16 @@
*directory = *mask = 0;
+ DEBUG(3, ("rename_internals: entering\n"
+ " name == %s\n"
+ " newname == %s\n",
+ name, newname));
+
rc = unix_convert(name,conn,0,&bad_path1,&sbuf1);
unix_convert(newname,conn,newname_last_component,&bad_path2,&sbuf2);
+ DEBUG(3, ("rename_internals: both names unix_converted, rc %d\n", rc));
+
/*...
2014 Jan 29
2
Rename computer, but still shows up as old name
...sing a step?
Details: Using RSAT, I see the old computer name, not the new computer
name. If I double click on the entity, I see on the General tab that the
Computer name and and DNS name ARE changed. It's just the common name that
isn't updated. On command line:
samba-tool spn list dompc-newname$
This gives me:
dompc-newname$
User CN=DOMPC-OLDNAME,OU=Desktops,OU=Domain Computers,DC=example,DC=com has
the following servicePrincipalName:
HOST/DOMPC-NEWNAME
...etc...
As you can see, it sees the new name everywhere except in the CN.
So, is this expected behavior? I'm not seeing an obvio...
2017 Aug 01
0
translateChar in NewName in bind.c
...ient in constructing the names(.) of their return value, ...." However, currently, the NEWS item is for R-devel, not R 3.4.1 patched.
--------------------------------------------
On Mon, 31/7/17, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
Subject: Re: [Rd] translateChar in NewName in bind.c
Cc: r-devel at r-project.org
Date: Monday, 31 July, 2017, 8:38 PM
>>>>> Suharto Anggono Suharto Anggono via R-devel <r-devel at r-project.org>
>>>>> on Sun, 30 Jul 2017 14:57:53 +0000 writes:
> R devel's bind.c has been ported to R...
2009 Jan 02
0
[LLVMdev] TableGen crash
...ActionHandler. Emits code for
/// handling the (forward) and (forward_as) option properties.
void EmitForwardOptionPropertyHandlingCode (const OptionDescription& D,
const char* Indent,
const std::string& NewName,
std::ostream& O) {
const std::string& Name = NewName.empty()
? ("-" + D.Name)
: NewName;
switch (D.Type) {
case OptionType::Switch:
O << Indent << "vec.push_back(\"" << Name << &...
2008 Sep 01
0
Feature request: preallocation of directories
...static void usage(void)
{
fprintf(stderr,
"Usage: %s [-RVf] [-+=AacDdijsSu] [-v version] files...\n",
program_name);
exit(1);
}
static int copy_dir_proc(const char *, struct dirent *, void *);
static int copy_dir(const char * name)
{
unsigned long flags;
struct stat st;
char *newname;
off_t size;
char fill[250];
int i, l, fd, num;
int recurse;
if (LSTAT (name, &st) == -1) {
if (!silent)
com_err (program_name, errno,
"while trying to stat %s", name);
return -1;
}
if (!S_ISDIR(st.st_mode))
return 0;
recurse = (st.st_dev == xdev);
newna...
2000 Sep 14
1
dynamically naming columns in a data frame
...formatting turned out properly, you should only see three lines
above, beginning with #, names, and df.
Abbreviate() returns a variable that contains a string (my
abbreviation). Using names() like this does not change the column name
in the final csv output.
This does work:
df <- data.frame( newName=clusters, .... )
But newName is always read as a text string, I have not been able to
substitute a variable. I also tried substituting the Abbreviate() call
for newName, hoping the char string return would be used. That caused
syntax errors.
Does anyone know a solution to dynamically naming col...
2011 Aug 29
1
how to referee a dimension name via a variable?
hi, R-users
I have a data.frame for example test$newdataday24 and test$newdataday48
I can plot them by
plot(test$newdataday24)
but now i want to plot different data by define a variable to describe them
dayno<-c(24,48)
newnam<-paste("test$newdataday",dayno,sep="")
plot(newnam[1])
but i failed,the error message said that something wrong with plot.window
what can i do
2011 Sep 29
1
documenting a behavior of adding named item to a list
Folks,
Per a post to StackOverflow, I'm looking for an opinion on whether something
should be documented:
When adding a named item to a list, its guaranteed that the item will be
added to the end of the list.
SO post:
http://stackoverflow.com/questions/7599349/adding-named-item-to-list-guaranteed-to-append-to-end-of-list/7599610#7599610
This is my first email to r-devel, so I hope this is
2007 Nov 20
3
How to rename image file before saving it using file_column?
...ying with the file_column plugin and I would like to rename the
file when uploading it and before saving it to DB. I''ve tried it with
before_create method in my model and also in the controller with the
following code:
@picture = Picture.new(params[:picture])
@picture.filename = ''newname''
Which doesn''t worked.
How it could be done (if it is possible)?
Thanks.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" g...
2003 Apr 20
0
How I got Samba 2.2.8a to run on OpenBSD 3.2 i386
.../restore_re_gid();
+ restore_re_gid();
return -1;
}
-------------- next part --------------
#!/usr/bin/perl -W
use Fcntl qw(:DEFAULT :flock);
$pwd_mkdb = "/usr/sbin/pwd_mkdb";
$master_passwd = "/etc/master.passwd";
umask(077);
die "You are not root!\n" if $<;
$newname = pop(@ARGV);
exit if !defined $newname;
print scalar localtime() . " - $0 $newname\n";
die "$newname already exists!\n" if ($newname eq "root" || getpwnam($newname));
system($pwd_mkdb, '-p', '-c', $master_passwd);
die "Invalid $master_passwd - c...
2012 Feb 10
3
[PATCH 0/3] Fix guestfish edit command.
This is a further, more comprehensive fix for
https://bugzilla.redhat.com/show_bug.cgi?id=788641
The guestfish 'edit' command (aka 'emacs', 'vi') suffered from the
same problems as virt-edit and more. It could have failed and left a
partially overwritten file, and it didn't preserve permissions etc
from the original file.
These three patches fix all this. The first