Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
hash_map
- Page 1
Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
3 Weeks Ago
by mx_983
Basic background information Mariadb Ver 15.1 District 10.11.6 MariaDB Glarea cluster, one with three nodes: Node1:192.168.18.78 Node2: 192.168.18.79 Node3: 192.168.18.80 Among them, Node1 node was restarted after a power outage of 1 hour, and after executing the system ctl start mariadb, it was stuck for a long time (running for 6 hours) …
Re: Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
3 Weeks Ago
by rproffitt
From https://stackoverflow.com/questions/78269177/mariadb10-11-6-galera-single-failed-node-startup-stuck-failure where they call it out as a bug waiting for a fix.
Re: Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
3 Weeks Ago
by rproffitt
The problem is still unresolved. Until the bug is fixed. Be sure to tell all that you don't accept this as a bug and want a fix now.
Re: Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
3 Weeks Ago
by rproffitt
I wonder if the last other stable releases show this issue? "Stable release: 11.3.2 / 16 February 2024; 46 days ago" or the most recent release of MariaDB 10.11: MariaDB 10.11.7 Stable (GA) That is, many fixes don't get released for out of date versions. The new version is how many fixes are issued.
Re: Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
2 Weeks Ago
by toneewa
I wonder how these IP addresses are issued. Static, dynamic, or is DHCP on? It reminds me of the time a network printer that stopped working, after the power went out. Other devices connected to the network after it's setup. Then, after rebooting, it got a different IP, but the host still thought it was on the old one. I've seen the same thing when…
Re: Extracting values from capturing groups in regex
Programming
Software Development
2 Months Ago
by Tom_45
It's a long one, but here it is. <head><title>Popular Baby Names</title> <meta name="dc.language" scheme="ISO639-2" content="eng"> <meta name="dc.creator" content="OACT"> <meta name="lead_content_manager" content="JeffK"&…
Re: Travel without Technology is like __________ without _____________.
Community Center
Geeks' Lounge
1 Month Ago
by Dani
According to ChatGPT, travel without technology is like exploring without a map, a mime without invisible walls, a penguin without ice skates, and a fish without fins. To be perfectly honest, I don't get any of them except for maybe the first.
Re: Postfix authentication problem
Hardware and Software
Linux and Unix
1 Month Ago
by chickenbirds
> I am trying to set-up Postfix on my Ubuntu local web development machine for send-only e-mails using Gmail so I can test e-mails sent by a web app I am developing. Even though this is an old post I wanted to reply as I found it while trying to setup my own postfix mailrelay on my private cloud server with Debian that hosts our small …
Re: Fine-Tuning OpenAI Whisper Model for Audio Classification in PyTorch
Programming
Computer Science
2 Months Ago
by habi_2
how to use the best_model.pt
Hash map reading from 2 files
Programming
Software Development
8 Years Ago
by noobjavacoder
Java program reading from 2 files. so i'm creating a program for u.s population by state per 2010 census. Below is the question: create a program that will read from two files and fills two HashMaps to find the population (according to the 2010 census) of an individual state or the United States. There will be 2 text files in your program: 1. The…
Hash Map : Question about duplicate keys
Programming
Software Development
8 Years Ago
by sciprog22
Hello, Thank you for your time! I have a Hashmap that has keys of of type Account (custom class) and the values are strings. The Account class has the following private variables: 1) name (String type) 2) account number (String type) 3) balance (type double). Following are the files: public class Account implements { private…
Hash map null value
Programming
Software Development
9 Years Ago
by anand01
Hi all , Good Day! I am having confusion in storing null values in hashmap and passing null in println method. 1) When I add null value in hash map directly it will not allow at the same time when I assign a null value in to string and add that string in to hash map it allows once. how its working. 2) Similarly how null printing when pass null …
Re: Hash map null value
Programming
Software Development
9 Years Ago
by Taywin
>1) When I add null value in hash map directly it will not allow at the same time when I assign a null value in to string and add that string in to hash map it allows once. how its working. There shouldn't be a problem adding `null` value directly to a [HashMap](https://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html) variable. How did…
display punctuations in word count hash map
Programming
Software Development
17 Years Ago
by pfr
Anyone know how to display the punctuations used in a text area , I used hash map. so here is my code of my hash map i was also thinking of using linear search and combine a if statement, if it is found display it. The jta.text(); is the name of my text thing. basically wat i have in my text box. [code] private void countWords() { …
Re: display punctuations in word count hash map
Programming
Software Development
17 Years Ago
by pfr
oh yes and if anyone know any way to combine equalsIgnoreCase case thing in my hash map, when im doing the Total Words thanks.
Re: create hash function for STL hash map?
Programming
Software Development
12 Years Ago
by raptr_dflo
[QUOTE=chary8088;1693890]stl has not hash map as I know, you can search some open source ,there are many excellent open source library for hash map[/QUOTE] [URL="http://www.cplusplus.com/reference/stl/map/"]stl::map<>[/URL] I think does pretty much exactly what anyone would need, with the exception of providing your own hashing …
create hash function for STL hash map?
Programming
Software Development
12 Years Ago
by existence19
Hi I have to create a hash map with key as string and data as string. i have to create a custom hash function for the hash map, but i don't know how to do that.. can somebody explain and give an example from which i could understand?
Silly Sentence Generator with Hash Map
Programming
Software Development
17 Years Ago
by FC Jamison
Last quarter our last assignment was to create two programs that gernerate silly sentences from words contained in a file. I was able to create the program with a map, but have no idea how to do it with a hash map. Since it was the end of the quarter, the instructor didn't go over how to do this. I am using Microsoft Visual Studio 2005 (the …
Re: create hash function for STL hash map?
Programming
Software Development
12 Years Ago
by chary8088
stl has not hash map as I know, you can search some open source ,there are many excellent open source library for hash map
reading from second key in hash map
Programming
Software Development
14 Years Ago
by guest7
… do: 102 110 these are the two keys in my
hash_map
. I wish to combine these two keys to get a…
Comparing values of a hash map
Programming
Software Development
13 Years Ago
by pramod.singh
i have a hash map in my application containing some key - values pair, i just want to compare previous value with current value of hash map and then move to next. then i wants to make next value as current and current value to previous and continue in this way till the end. can anybuddy suggest me logic, how to implement this. Thanks !
Recursive Hash map - unhandled exception help
Programming
Software Development
19 Years Ago
by krithigal
…; }ITEM; class Node; typedef class Node NODE; class Node { public:
hash_map
<const char*,NODE *> nodeMap; ITEM *item; }; class Tree… above code block if I try to insert into the
hash_map
of N1 it is working. But in case of a…
Re: Hash map reading from 2 files
Programming
Software Development
8 Years Ago
by JamesCherrill
I already told you. Use the get method for the appropriate map. Eg After you have loaded the abbreviations and populations into map2, to get the pop for NY, map2.get("NY");
Re: Hash map reading from 2 files
Programming
Software Development
8 Years Ago
by JamesCherrill
You are supposed to read everything in once at the start of the program. Once it's all in the hash maps you can use their get methods to search them and retrieve the requested results for as many requests as you want.
Re: Hash Map : Question about duplicate keys
Programming
Software Development
8 Years Ago
by JamesCherrill
Your understanding is wrong in that the key/value pair is not replaced, just the value. The API doc says "If the map previously contained a mapping for the key, the old value is replaced." Your `equals` method defines two Accounts as being the same if the name fields are equal, so although you have two different Accounts the second is …
Hash Map Resources
Programming
Software Development
9 Years Ago
by Tycellent
Sup everyone, Does anyone have any recommended tutorials/sites for Hash maps? I'm planning to use it to create and link "locations" in a basic text-based game but i've looked around and there seems to be a lot of description on hashmaps but not much tutorial/examples for them. Any sort of guide will be greatly appreciated. Cheers,
Re: Hash Map Resources
Programming
Software Development
9 Years Ago
by vijayan121
http://oopscenities.net/2012/01/20/c11-unordered-maps/ http://www.drdobbs.com/windows/user-defined-hash-functions-for-unordere/231600210 http://en.cppreference.com/w/cpp/container/unordered_map http://www.cplusplus.com/reference/unordered_map/unordered_map/
Re: Hash Map Resources
Programming
Software Development
9 Years Ago
by rubberman
Any particular reason why you are using hash-maps vs regular maps? One advantage (possibly) for maps is that they are key ordered.
Re: Hash Map
Programming
Software Development
12 Years Ago
by JamesCherrill
Hashmap uses the key object's hash (an int as returned by the hashCode() method) to create the map between key and value. The default hash method that you inherit from Object returns unique values for every object, but you want to "equal" phone numbers to have the same hash so they will correspond to the same entry in the hashmap. In your…
Hash Map
Programming
Software Development
12 Years Ago
by gedas
hey Guys, im creating a clas that is to be used in a HashMap to map phone numbers to name. for example : map.put( new PhoneNumber(207, 8269600, 260), “Paul”); [CODE] public final class PhoneNumber { private final int areaCode; private final int number; private final int extension; public PhoneNumber(int areaCode, int number, int …
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC